mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
llvm-objdump: implement printing for MachO __compact_unwind info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -813,10 +813,12 @@ static void PrintUnwindInfo(const ObjectFile *o) {
|
||||
|
||||
if (const COFFObjectFile *coff = dyn_cast<COFFObjectFile>(o)) {
|
||||
printCOFFUnwindInfo(coff);
|
||||
} else {
|
||||
} else if (const MachOObjectFile *MachO = dyn_cast<MachOObjectFile>(o))
|
||||
printMachOUnwindInfo(MachO);
|
||||
else {
|
||||
// TODO: Extract DWARF dump tool to objdump.
|
||||
errs() << "This operation is only currently supported "
|
||||
"for COFF object files.\n";
|
||||
"for COFF and MachO object files.\n";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user