aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2017-02-15 21:42:42 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2017-02-15 21:42:42 +0000
commit5e1e59180e7b9ac478208bacdaa129a5fa539a4f (patch)
tree959b7b9e4d29f1647ad25d444b4f4635a4309f07 /llvm/lib/Support/SourceMgr.cpp
parent845ea963aaf40e59e5e7e09393c2cb32898dace1 (diff)
downloadllvm-5e1e59180e7b9ac478208bacdaa129a5fa539a4f.zip
llvm-5e1e59180e7b9ac478208bacdaa129a5fa539a4f.tar.gz
llvm-5e1e59180e7b9ac478208bacdaa129a5fa539a4f.tar.bz2
[GlobalObject] Fix setSection("")
Summary: In rL291613, the section name was interned in LLVMContext. However, this broke the ability to remove the section from a GlobalObject, because it tried to intern empty strings, which is not allowed. Fix that and add an appropriate regression test. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D29795 llvm-svn: 295238
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions