diff options
Diffstat (limited to 'test/Bitcode/thinlto-summary-section.ll')
-rw-r--r-- | test/Bitcode/thinlto-summary-section.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/Bitcode/thinlto-summary-section.ll b/test/Bitcode/thinlto-summary-section.ll index d120622db819..3d67279617ec 100644 --- a/test/Bitcode/thinlto-summary-section.ll +++ b/test/Bitcode/thinlto-summary-section.ll @@ -4,8 +4,10 @@ ; RUN: llvm-lto -thinlto -o %t2 %t.o ; RUN: llvm-bcanalyzer -dump %t2.thinlto.bc | FileCheck %s --check-prefix=COMBINED -; CHECK: <PERMODULE {{.*}} op1=16 -; COMBINED-DAG: <COMBINED {{.*}} op2=16 -define void @functionWithSection() section "some_section" { +; Flags should be 0x17 (23) for local linkage (0x3) and not being importable +; (0x10) due to local linkage plus having a section. +; CHECK: <PERMODULE {{.*}} op1=23 +; COMBINED-DAG: <COMBINED {{.*}} op2=23 +define internal void @functionWithSection() section "some_section" { ret void } |