diff options
| author | Renato Golin <renato.golin@linaro.org> | 2015-04-15 08:44:40 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2015-04-15 08:44:40 +0000 |
| commit | c640ff63e236d48d90a29f548799ea8342a7aa04 (patch) | |
| tree | ce154142ed83f16c4f3a2d221dab1afe8614e7f5 /clang/test/CodeGenCXX | |
| parent | 96acdf60a3d5008a56c48513e4a0dfa0e7fc22d3 (diff) | |
| download | bcm5719-llvm-c640ff63e236d48d90a29f548799ea8342a7aa04.tar.gz bcm5719-llvm-c640ff63e236d48d90a29f548799ea8342a7aa04.zip | |
Revert "[CodeGen] Fix crash with duplicated mangled name."
This reverts commit r234767, as it was breaking all ARM buildbots for two days and the
assert is not in the code, making it difficult to spot the error, which would keep the
bots red for a few more days. New errors were silently introduced because of this bug,
and we don't want this to escalate.
llvm-svn: 234983
Diffstat (limited to 'clang/test/CodeGenCXX')
| -rw-r--r-- | clang/test/CodeGenCXX/duplicate-mangled-name2.cpp | 9 | ||||
| -rw-r--r-- | clang/test/CodeGenCXX/duplicate-mangled-name3.cpp | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/clang/test/CodeGenCXX/duplicate-mangled-name2.cpp b/clang/test/CodeGenCXX/duplicate-mangled-name2.cpp deleted file mode 100644 index e582733fd8a..00000000000 --- a/clang/test/CodeGenCXX/duplicate-mangled-name2.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// RUN: %clang_cc1 -triple i686-pc-linux-gnu -emit-llvm-only %s -verify -// RUN: %clang_cc1 -triple i686-pc-linux-gnu -femit-all-decls -emit-llvm-only %s -verify - -void foo(void *p) __asm("_ZN1SC2Ev"); -void foo(void *p) { } // expected-note {{previous}} - -struct S { - S() {} // expected-error {{definition with same mangled name as another definition}} -} s; diff --git a/clang/test/CodeGenCXX/duplicate-mangled-name3.cpp b/clang/test/CodeGenCXX/duplicate-mangled-name3.cpp deleted file mode 100644 index 17dbc9bc85f..00000000000 --- a/clang/test/CodeGenCXX/duplicate-mangled-name3.cpp +++ /dev/null @@ -1,10 +0,0 @@ -// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm-only %s -verify -// RUN: %clang_cc1 -triple %itanium_abi_triple -femit-all-decls -emit-llvm-only %s -verify - -extern "C" { - void _ZN1SC2Ev(void *p) { } // expected-note {{previous}} -} - -struct S { - S() {} // expected-error {{definition with same mangled name as another definition}} -} s; |

