mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
[llvm-objdump] Print a blank row at the end of sections
Summary: When using option `-x` (--all-headers), it will print `Sections`, `Symbol Table`, `Program Header` ... `Sections` and `Symbol Table` will be connected together. Before: ``` Sections: Idx Name Size Address Type 0 00000000 0000000000000000 ... 29 .shstrtab 0000011a 0000000000000000 SYMBOL TABLE: ... ``` After: ``` Sections: Idx Name Size Address Type 0 00000000 0000000000000000 ... 29 .shstrtab 0000011a 0000000000000000 SYMBOL TABLE: ... ``` Reviewers: Higuoxing Reviewed By: Higuoxing Subscribers: llvm-commits, jhenderson Differential Revision: https://reviews.llvm.org/D54665 llvm-svn: 347135
This commit is contained in:
parent
a403d63e37
commit
37ef87de25
@ -1914,6 +1914,7 @@ void llvm::PrintSectionHeaders(const ObjectFile *Obj) {
|
||||
(unsigned)Section.getIndex(), Name.str().c_str(), Size,
|
||||
Address, Type.c_str());
|
||||
}
|
||||
outs() << "\n";
|
||||
}
|
||||
|
||||
void llvm::PrintSectionContents(const ObjectFile *Obj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user