diff options
author | Frederic Riss <friss@apple.com> | 2015-01-19 23:33:14 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2015-01-19 23:33:14 +0000 |
commit | e4a6fef98ffd066db6360c53986032bcbd338275 (patch) | |
tree | c35204b154bbcf6b0e748c8fed4a866029827c75 /llvm/tools/dsymutil/DebugMap.cpp | |
parent | 13890af51cf1de674b2a8bccce2a2cb870617a21 (diff) | |
download | bcm5719-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.cpp | 3 |
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"; |