Fixes various downstream bot failures ocurring with different default targets e.g., windows due to mangling assumptions baked into the tests.
14 lines
571 B
C++
14 lines
571 B
C++
// RUN: %clang_cc1 -triple x86_64-linux-gnu -gkey-instructions %s -debug-info-kind=line-tables-only -emit-llvm -o -\
|
|
// RUN: | FileCheck %s --implicit-check-not atomGroup --implicit-check-not atomRank
|
|
|
|
// CHECK: [[b_addr:@.*]] = {{.*}}global ptr
|
|
|
|
void g(int *a) {
|
|
// CHECK: [[v:%.*]] = load ptr, ptr %a.addr{{.*}}, !dbg [[G1R2:!.*]]
|
|
// CHECK: store ptr [[v]], ptr [[b_addr]]{{.*}}, !dbg [[G1R1:!.*]]
|
|
static int &b = *a;
|
|
}
|
|
|
|
// CHECK: [[G1R2]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 2)
|
|
// CHECK: [[G1R1]] = !DILocation({{.*}}, atomGroup: 1, atomRank: 1)
|