aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
committerReid Kleckner <rnk@google.com>2018-03-16 20:36:49 +0000
commitfb93154bf147513339409e3640372ca3453060eb (patch)
tree4b10908f63a9919f3978c6276f95a959b5c3e475 /clang/lib/CodeGen/CGException.cpp
parent889cbcacbc037556a9105bf1feac4baa856759aa (diff)
downloadllvm-fb93154bf147513339409e3640372ca3453060eb.zip
llvm-fb93154bf147513339409e3640372ca3453060eb.tar.gz
llvm-fb93154bf147513339409e3640372ca3453060eb.tar.bz2
[MS] Don't escape MS C++ names with \01
It is not needed after LLVM r327734. Now it will be easier to copy-paste IR symbol names from Clang. llvm-svn: 327738
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index 0e257ac..2be3e25 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -65,7 +65,7 @@ llvm::Constant *CodeGenModule::getTerminateFn() {
if (getLangOpts().isCompatibleWithMSVC(LangOptions::MSVC2015))
name = "__std_terminate";
else
- name = "\01?terminate@@YAXXZ";
+ name = "?terminate@@YAXXZ";
} else if (getLangOpts().ObjC1 &&
getLangOpts().ObjCRuntime.hasTerminate())
name = "objc_terminate";