about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorFolkert de Vries <folkert@folkertdev.nl>2025-09-19 21:53:06 +0200
committerFolkert de Vries <folkert@folkertdev.nl>2025-09-19 21:53:06 +0200
commitb27942853efdb2fde2b6f73023c38ebfec3fcb8f (patch)
tree7b4003c16d829ed7c249a002ffc31de4b58b471f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8a1b39995e5b630c5872f5de5079f1f569bd5ac2 (diff)
downloadrust-b27942853efdb2fde2b6f73023c38ebfec3fcb8f.tar.gz
rust-b27942853efdb2fde2b6f73023c38ebfec3fcb8f.zip
naked_asm: emit a label starting with `func_end`
The `cargo asm` tool pattern matches on such labels to figure out where functions end: normal functions generated by LLVM always do have such a label. We don't guarantee that naked functions emit such a label, but having `cargo asm` work is convenient
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions