rust/compiler/rustc_target/src
bors 2ceed0b6cb Auto merge of #113814 - ChoKyuWon:master, r=davidtwco
Replace the \01__gnu_mcount_nc to LLVM intrinsic for ARM

Current `-Zinstrument-mcount` for ARM32 use the `\01__gnu_mcount_nc` directly for its instrumentation function.

However, the LLVM does not use this mcount function directly, but it wraps it to intrinsic, `llvm.arm.gnu.eabi.mcount` and the transform pass also only handle the intrinsic.

As a result, current `-Zinstrument-mcount` not work on ARM32. Refer: https://github.com/namhyung/uftrace/issues/1764

This commit replaces the mcount name from native function to the LLVM intrinsic so that the transform pass can handle it.
2023-08-18 13:20:37 +00:00
..
abi Update compiler/rustc_target/src/abi/call/csky.rs 2023-08-14 23:02:36 +08:00
asm add details for csky-unknown-linux-gnuabiv2 and add docs 2023-08-14 23:02:37 +08:00
spec Auto merge of #113814 - ChoKyuWon:master, r=davidtwco 2023-08-18 13:20:37 +00:00
json.rs feat: riscv-interrupt-{m,s} calling conventions 2023-08-08 18:09:56 -07:00
lib.rs Add internal_features lint 2023-08-03 14:50:50 +02:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00