After a first attempt to fix the test-suite failures, my first recommit
caused the same failures again. I had updated CMakeList.txt files of
tests that needed -fcommon, but it turns out that there are also
Makefiles which are used by some bots, so I've updated these Makefiles
now too.
See the original commit message for more details on this change:
0a9fc9233e
21 lines
849 B
C
21 lines
849 B
C
// REQUIRES: x86-registered-target
|
|
// RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s
|
|
|
|
// CHECK: @main.localstatic = internal global i32 0, align 4, !dbg [[L:![0-9]+]]
|
|
// CHECK: @global = global i32 0, align 4, !dbg [[G:![0-9]+]]
|
|
|
|
int global;
|
|
int main() {
|
|
static int localstatic;
|
|
return 0;
|
|
}
|
|
|
|
// CHECK: [[L]] = !DIGlobalVariableExpression(var: [[LV:.*]], expr: !DIExpression())
|
|
// CHECK: [[LV]] = distinct !DIGlobalVariable(name: "localstatic"
|
|
// CHECK-NOT: linkageName:
|
|
// CHECK-SAME: line: 9,
|
|
// CHECK: [[G]] = !DIGlobalVariableExpression(var: [[GV:.*]], expr: !DIExpression())
|
|
// CHECK: [[GV]] = distinct !DIGlobalVariable(name: "global"
|
|
// CHECK-NOT: linkageName:
|
|
// CHECK-SAME: line: 7,
|