summaryrefslogtreecommitdiffstats
path: root/llvm/tools/dsymutil/DebugMap.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-01-19 23:33:14 +0000
committerFrederic Riss <friss@apple.com>2015-01-19 23:33:14 +0000
commite4a6fef98ffd066db6360c53986032bcbd338275 (patch)
treec35204b154bbcf6b0e748c8fed4a866029827c75 /llvm/tools/dsymutil/DebugMap.cpp
parent13890af51cf1de674b2a8bccce2a2cb870617a21 (diff)
downloadbcm5719-llvm-e4a6fef98ffd066db6360c53986032bcbd338275.tar.gz
bcm5719-llvm-e4a6fef98ffd066db6360c53986032bcbd338275.zip
[dsymutil] Add the detected target triple to the debug map.
It will be needed to instantiate the Target object that we will use to create all the MC objects for the dwarf emission. llvm-svn: 226525
Diffstat (limited to 'llvm/tools/dsymutil/DebugMap.cpp')
-rw-r--r--llvm/tools/dsymutil/DebugMap.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/DebugMap.cpp b/llvm/tools/dsymutil/DebugMap.cpp
index 7898160ae6b..ca7ae80ee8f 100644
--- a/llvm/tools/dsymutil/DebugMap.cpp
+++ b/llvm/tools/dsymutil/DebugMap.cpp
@@ -67,7 +67,8 @@ DebugMapObject::lookupSymbol(StringRef SymbolName) const {
}
void DebugMap::print(raw_ostream &OS) const {
- OS << "DEBUG MAP: object addr => executable addr\tsymbol name\n";
+ OS << "DEBUG MAP: " << BinaryTriple.getTriple()
+ << "\n\tobject addr => executable addr\tsymbol name\n";
for (const auto &Obj : objects())
Obj->print(OS);
OS << "END DEBUG MAP\n";
OpenPOWER on IntegriCloud