diff options
| author | Teresa Johnson <tejohnson@google.com> | 2018-06-26 15:50:34 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2018-06-26 15:50:34 +0000 |
| commit | 25becb35e922019109650d7e6e235df5c5f030ba (patch) | |
| tree | 3b32ff8d347a0aac23a666ef398308a204cfe8b3 /clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll | |
| parent | 133b1cdf087963dfa65151c3be23d6c47462b432 (diff) | |
| download | bcm5719-llvm-25becb35e922019109650d7e6e235df5c5f030ba.tar.gz bcm5719-llvm-25becb35e922019109650d7e6e235df5c5f030ba.zip | |
[ThinLTO] Add testing of summary index parsing to a couple CFI tests
Summary:
Changes to some clang side tests to go with the summary parsing patch.
Depends on D47905.
Reviewers: pcc, dexonsmith, mehdi_amini
Subscribers: inglorion, eraman, cfe-commits, steven_wu
Differential Revision: https://reviews.llvm.org/D47906
llvm-svn: 335618
Diffstat (limited to 'clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll')
| -rw-r--r-- | clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll b/clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll index c4a31644974..ab33a59b698 100644 --- a/clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll +++ b/clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll @@ -30,6 +30,8 @@ ; CHECK-LABEL: </STRTAB_BLOCK ; RUN: llvm-dis %t.o.thinlto.bc -o - | FileCheck %s --check-prefix=CHECK-DIS +; Round trip it through llvm-as +; RUN: llvm-dis %t.o.thinlto.bc -o - | llvm-as -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-DIS ; CHECK-DIS: ^0 = module: (path: "{{.*}}thinlto-distributed-cfi-devirt.ll.tmp.o", hash: ({{.*}}, {{.*}}, {{.*}}, {{.*}}, {{.*}})) ; CHECK-DIS: ^1 = gv: (guid: 8346051122425466633, summaries: (function: (module: ^0, flags: (linkage: external, notEligibleToImport: 0, live: 1, dsoLocal: 0), insts: 18, typeIdInfo: (typeTests: (^2), typeCheckedLoadVCalls: (vFuncId: (^2, offset: 8), vFuncId: (^2, offset: 0)))))) ; CHECK-DIS: ^2 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: allOnes, sizeM1BitWidth: 7), wpdResolutions: ((offset: 0, wpdRes: (kind: branchFunnel)), (offset: 8, wpdRes: (kind: singleImpl, singleImplName: "_ZN1A1nEi"))))) ; guid = 7004155349499253778 |

