forked from OSchip/llvm-project
Make sure that we print out function or symbol information. If we disassembled
a symbol, were weren't showing the "<module>`<symbol>" header. llvm-svn: 145511
This commit is contained in:
parent
a68c9a847e
commit
1bba2bedde
|
@ -384,7 +384,7 @@ Disassembler::PrintInstructions
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!(prev_sc.function == sc.function || prev_sc.symbol == sc.symbol))
|
else if ((sc.function || sc.symbol) && (sc.function != prev_sc.function || sc.symbol != prev_sc.symbol))
|
||||||
{
|
{
|
||||||
if (prev_sc.function || prev_sc.symbol)
|
if (prev_sc.function || prev_sc.symbol)
|
||||||
strm.EOL();
|
strm.EOL();
|
||||||
|
|
Loading…
Reference in New Issue