aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-24 08:24:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-24 08:24:36 +0000
commit1e13b9756098b2d657c09fc2910dd66f255d9592 (patch)
treeb29880f9afc9d9710cc5c28c341eb667a6ebd246 /tools
parent7e18b650e9ee29c3ba75f932f5c0e82f74caeb6f (diff)
downloadexternal_llvm-1e13b9756098b2d657c09fc2910dd66f255d9592.zip
external_llvm-1e13b9756098b2d657c09fc2910dd66f255d9592.tar.gz
external_llvm-1e13b9756098b2d657c09fc2910dd66f255d9592.tar.bz2
Switch to getNameStr().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76962 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/ExtractFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp
index e9f7f93..f315f67 100644
--- a/tools/bugpoint/ExtractFunction.cpp
+++ b/tools/bugpoint/ExtractFunction.cpp
@@ -353,7 +353,7 @@ Module *BugDriver::ExtractMappedBlocksFromModule(const
// If the BB doesn't have a name, give it one so we have something to key
// off of.
if (!BB->hasName()) BB->setName("tmpbb");
- BlocksToNotExtractFile << BB->getParent()->getName() << " "
+ BlocksToNotExtractFile << BB->getParent()->getNameStr() << " "
<< BB->getName() << "\n";
}
BlocksToNotExtractFile.close();