mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Simplify another function that doesn't fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -292,8 +292,7 @@ static int printLineInfoForInput(bool LoadObjects, bool UseDebugObj) {
|
||||
|
||||
uint64_t Size;
|
||||
if (isa<ELFObjectFileBase>(SymbolObj)) {
|
||||
if (Sym.getSize(Size))
|
||||
continue;
|
||||
Size = Sym.getSize();
|
||||
} else {
|
||||
object::section_iterator Sec = SymbolObj->section_end();
|
||||
if (Sym.getSection(Sec))
|
||||
|
Reference in New Issue
Block a user