diff options
| author | Alexey Samsonov <samsonov@google.com> | 2014-04-18 21:36:39 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2014-04-18 21:36:39 +0000 |
| commit | d010999abeba1635d4e5c38926c351b2c5ef6544 (patch) | |
| tree | 33748b4c49365238fd109af74c2b5ae100f5cf55 /llvm/tools/llvm-rtdyld | |
| parent | c029ab430c4724ebcd391954c7ce3791bcb065e0 (diff) | |
| download | bcm5719-llvm-d010999abeba1635d4e5c38926c351b2c5ef6544.tar.gz bcm5719-llvm-d010999abeba1635d4e5c38926c351b2c5ef6544.zip | |
[DWARF parser] Turn DILineInfo into a struct.
Immutable DILineInfo doesn't bring any benefits and complicates
code. Also, use std::string instead of SmallString<16> for file
and function names - their length can vary significantly.
No functionality change.
llvm-svn: 206654
Diffstat (limited to 'llvm/tools/llvm-rtdyld')
| -rw-r--r-- | llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp index ac43653d58a..5e3c488c7bd 100644 --- a/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -172,8 +172,7 @@ static int printLineInfoForInput() { DILineInfoTable::iterator End = Lines.end(); for (DILineInfoTable::iterator It = Begin; It != End; ++It) { outs() << " Line info @ " << It->first - Addr << ": " - << It->second.getFileName() - << ", line:" << It->second.getLine() << "\n"; + << It->second.FileName << ", line:" << It->second.Line << "\n"; } } } |

