mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
9 lines
208 B
C
9 lines
208 B
C
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
|
|
|
|
int g0, f0();
|
|
int f1(), g1;
|
|
|
|
// CHECK: @g0 = common {{(dso_local )?}}global i32 0, align 4
|
|
// CHECK: @g1 = common {{(dso_local )?}}global i32 0, align 4
|
|
|