aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-13 23:00:51 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-13 23:00:51 +0000
commit7297b864a4a38271d2d4fb6be07c11841bf7c275 (patch)
treefb37643b643f103c6c52d96659db4d41788343ff /clang/lib/CodeGen/ModuleBuilder.cpp
parent3c0ed76a9d433cabaf9df757055dbc3cbccbeed6 (diff)
downloadllvm-7297b864a4a38271d2d4fb6be07c11841bf7c275.zip
llvm-7297b864a4a38271d2d4fb6be07c11841bf7c275.tar.gz
llvm-7297b864a4a38271d2d4fb6be07c11841bf7c275.tar.bz2
Retain the name of the new internal global that's been shrunk.
It's possible (e.g. after an LTO build) that an internal global may be used for debugging purposes. If that's the case appending a '.b' to it makes it hard to find that variable. Steal the name from the old GV before deleting it so that they can find that variable again. llvm-svn: 175104
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions