diff options
author | John McCall <rjmccall@apple.com> | 2010-02-19 01:32:20 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-02-19 01:32:20 +0000 |
commit | d46f98573ba104eda102dd3224b2dca69f1c6336 (patch) | |
tree | 0df0c66590c9ca2c964bb610ce0a72a743c51cfe /test/CodeGenCXX/virtual-bases.cpp | |
parent | 008847a70ab122a99911149199855060fb3753b4 (diff) |
Re-introduce the ctor/dtor alias optimization, this time hidden behind a
command-line option which defaults off.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/virtual-bases.cpp')
-rw-r--r-- | test/CodeGenCXX/virtual-bases.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/virtual-bases.cpp b/test/CodeGenCXX/virtual-bases.cpp index 200f21a5da..6277175763 100644 --- a/test/CodeGenCXX/virtual-bases.cpp +++ b/test/CodeGenCXX/virtual-bases.cpp @@ -1,10 +1,10 @@ -// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s +// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 -mconstructor-aliases | FileCheck %s struct A { A(); }; -// CHECK: define void @_ZN1AC1Ev(%struct.A* %this) +// CHECK: @_ZN1AC1Ev = alias {{.*}} @_ZN1AC2Ev // CHECK: define void @_ZN1AC2Ev(%struct.A* %this) A::A() { } |