mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 06:24:57 +00:00
[llvm-readobj] Print MIPS .reginfo section content
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -152,6 +152,10 @@ namespace opts {
|
||||
cl::opt<bool> MipsABIFlags("mips-abi-flags",
|
||||
cl::desc("Display the MIPS.abiflags section"));
|
||||
|
||||
// -mips-reginfo
|
||||
cl::opt<bool> MipsReginfo("mips-reginfo",
|
||||
cl::desc("Display the MIPS .reginfo section"));
|
||||
|
||||
// -coff-imports
|
||||
cl::opt<bool>
|
||||
COFFImports("coff-imports", cl::desc("Display the PE/COFF import table"));
|
||||
@ -296,6 +300,8 @@ static void dumpObject(const ObjectFile *Obj) {
|
||||
Dumper->printMipsPLTGOT();
|
||||
if (opts::MipsABIFlags)
|
||||
Dumper->printMipsABIFlags();
|
||||
if (opts::MipsReginfo)
|
||||
Dumper->printMipsReginfo();
|
||||
}
|
||||
if (opts::COFFImports)
|
||||
Dumper->printCOFFImports();
|
||||
|
Reference in New Issue
Block a user