diff options
Diffstat (limited to 'compiler-rt/test/profile/Linux/coverage_dtor.cpp')
-rw-r--r-- | compiler-rt/test/profile/Linux/coverage_dtor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/test/profile/Linux/coverage_dtor.cpp b/compiler-rt/test/profile/Linux/coverage_dtor.cpp index c59c34df4bc..8b1e1c77e98 100644 --- a/compiler-rt/test/profile/Linux/coverage_dtor.cpp +++ b/compiler-rt/test/profile/Linux/coverage_dtor.cpp @@ -2,6 +2,11 @@ // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t // RUN: llvm-profdata merge -o %t.profdata %t.profraw // RUN: llvm-cov show %t -instr-profile %t.profdata -filename-equivalence 2>&1 | FileCheck %s +// 32 bit testing +// RUN: %clang -x c++ -fno-exceptions -std=c++11 -fuse-ld=gold -fprofile-instr-generate -fcoverage-mapping -m32 -o %t.32 %s +// RUN: env LLVM_PROFILE_FILE=%t.32.profraw %run %t.32 +// RUN: llvm-profdata merge -o %t.32.profdata %t.32.profraw +// RUN: llvm-cov show %t.32 -instr-profile %t.32.profdata -filename-equivalence 2>&1 | FileCheck %s int g = 100; struct Base { |