summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-09-20 16:04:50 +0000
committerEric Christopher <echristo@gmail.com>2016-09-20 16:04:50 +0000
commit0be7793d75378163f6f6e4724c94370971d342a0 (patch)
tree5d2cdcd596d95182ed095c838196bcc6c25d9db4 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentf83a19ffc265df124cffe7a91c86d5ffbdc8b955 (diff)
downloadbcm5719-llvm-0be7793d75378163f6f6e4724c94370971d342a0.tar.gz
bcm5719-llvm-0be7793d75378163f6f6e4724c94370971d342a0.zip
Remove extra argument used once on TargetMachine::getNameWithPrefix and inline the result into the singular caller.
llvm-svn: 281981
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index bbeb5552527..b92ffde2319 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -296,7 +296,7 @@ selectELFSectionForGlobal(MCContext &Ctx, const GlobalValue *GV,
if (EmitUniqueSection && UniqueSectionNames) {
Name.push_back('.');
- TM.getNameWithPrefix(Name, GV, Mang, true);
+ Mang.getNameWithPrefix(Name, GV, false);
}
unsigned UniqueID = MCContext::GenericSectionID;
if (EmitUniqueSection && !UniqueSectionNames) {
OpenPOWER on IntegriCloud