llvm-project/llvm/test/Linker/Inputs/drop-attribute.ll
Gulfem Savrun Yeniceri b95689933f [Linker] Remove nocallback attribute while linking
GCC's leaf attribute is lowered to LLVM IR nocallback attribute.
Clang conservatively treats this function attribute as a hint on the
module level, and removes it while linking modules. More context can
be found in: https://reviews.llvm.org/D131628.

Differential Revision: https://reviews.llvm.org/D137360
2022-12-22 21:08:41 +00:00

5 lines
86 B
LLVM

define void @test_nocallback_declaration_definition_linked_in() {
entry:
ret void
}