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:
Greg Clayton 2011-11-30 19:36:42 +00:00
parent a68c9a847e
commit 1bba2bedde
1 changed files with 1 additions and 1 deletions

View File

@ -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();