diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:21 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-06 20:13:21 +0000 |
| commit | 7e7b6700743285c0af506ac6299ddf82ebd434b9 (patch) | |
| tree | 578d2ea1868b77f3dff145df7f8f3fe73272c09e /test/Bitcode/thinlto-summary-section.ll | |
| parent | 4b570baa7e867c652fa7d690585098278082fae9 (diff) | |
Notes
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 } |
