We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c05d30e commit 4a66a11Copy full SHA for 4a66a11
llvm/test/tools/gold/X86/comdat-nodeduplicate.ll
@@ -35,8 +35,9 @@
35
; RUN: opt --module-summary %t/b.ll -o %t/b.bc
36
; RUN: opt --module-summary %t/c.ll -o %t/c.bc
37
38
+;; gold from binutils>=2.27 discards b.bc:__profc_foo even in the absence of --gc-sections.
39
; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
-; RUN: -u foo %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc
40
+; RUN: -u foo %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc --gc-sections
41
; RUN: llvm-readelf -x .data %t/abc | FileCheck %s --check-prefix=DATA
42
43
;--- a.ll
0 commit comments