summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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/CodeGenModule.cpp
parent889cbcacbc037556a9105bf1feac4baa856759aa (diff)
downloadbcm5719-llvm-fb93154bf147513339409e3640372ca3453060eb.tar.gz
bcm5719-llvm-fb93154bf147513339409e3640372ca3453060eb.zip
[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/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index cb1bfc143bf..e221b64d2ec 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -2571,7 +2571,7 @@ GetRuntimeFunctionDecl(ASTContext &C, StringRef Name) {
// Demangle the premangled name from getTerminateFn()
IdentifierInfo &CXXII =
- (Name == "_ZSt9terminatev" || Name == "\01?terminate@@YAXXZ")
+ (Name == "_ZSt9terminatev" || Name == "?terminate@@YAXXZ")
? C.Idents.get("terminate")
: C.Idents.get(Name);
OpenPOWER on IntegriCloud