diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-01-08 00:50:11 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2010-01-08 00:50:11 +0000 |
commit | 6c6bda3b0b1d8adaac2ba3f4da7056e9f1eef52e (patch) | |
tree | 0f78f0d7309fe4cdbf5ef5bef904e7e3ad55e1a1 /test/CodeGenCXX/attr.cpp | |
parent | 827feec561c8a1f23c099da56c4ac98364ecfc09 (diff) |
Fix for PR5967: Make const-marking for LLVM globals correct for cases requiring
run-time initialization, and emit run-time initializers aggresively to avoid
ordering issues with deferred globals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/attr.cpp')
-rw-r--r-- | test/CodeGenCXX/attr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGenCXX/attr.cpp b/test/CodeGenCXX/attr.cpp index 8fd8641486..1b214b77be 100644 --- a/test/CodeGenCXX/attr.cpp +++ b/test/CodeGenCXX/attr.cpp @@ -15,6 +15,9 @@ class C { virtual void bar3() __attribute__((aligned(1024))); } c; +// CHECK:.align 1, 0x90 +// CHECK-NEXT:.globl __ZN1CC1Ev + void C::bar1() { } // CHECK:.align 1, 0x90 |