diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 14:12:52 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 14:12:52 +0000 |
| commit | bdd2e3e36c5ba8155a4f2b7212b3c753c17efe57 (patch) | |
| tree | f65705c468cf675ec5304582c261930dbb99bc8a /lld/ELF/InputFiles.cpp | |
| parent | 1ec42d9a76e0dd49bc3e6fed73e3773e88176a2e (diff) | |
Remove redundant member of InputSectionBase. NFC.
With this InputSectionBase is now 144 bytes.
llvm-svn: 297278
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
| -rw-r--r-- | lld/ELF/InputFiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 30ebe925dbe0..60182e5d119b 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -107,7 +107,7 @@ std::string elf::ObjectFile<ELFT>::getLineInfo(InputSectionBase *S, // section. See comments for ObjectInfo class. DILineInfo Info; Tbl->getFileLineInfoForAddress( - S->Offset + Offset, nullptr, + S->getOffset() + Offset, nullptr, DILineInfoSpecifier::FileLineInfoKind::AbsoluteFilePath, Info); if (Info.Line == 0) return ""; |
