mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
llvm-objdump: Replace the -macho -raw option with a generic -raw-clang-ast
option that works with all object container formats. Now that clang modules/PCH are object containers this option is useful to to construct pipes like llvm-objdump -raw-clang-ast foo.pcm | llvm-bcanalyzer - to inspect the AST contents in a PCH container. Will be tested via clang. Belatedly addresses review feedback for r233390. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241659 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -26,7 +26,6 @@ extern cl::opt<std::string> ArchName;
|
||||
extern cl::opt<std::string> MCPU;
|
||||
extern cl::list<std::string> MAttrs;
|
||||
extern cl::list<std::string> DumpSections;
|
||||
extern cl::opt<bool> Raw;
|
||||
extern cl::opt<bool> Disassemble;
|
||||
extern cl::opt<bool> NoShowRawInsn;
|
||||
extern cl::opt<bool> PrivateHeaders;
|
||||
@ -35,6 +34,7 @@ extern cl::opt<bool> Rebase;
|
||||
extern cl::opt<bool> Bind;
|
||||
extern cl::opt<bool> LazyBind;
|
||||
extern cl::opt<bool> WeakBind;
|
||||
extern cl::opt<bool> RawClangAST;
|
||||
extern cl::opt<bool> UniversalHeaders;
|
||||
extern cl::opt<bool> ArchiveHeaders;
|
||||
extern cl::opt<bool> IndirectSymbols;
|
||||
@ -72,6 +72,7 @@ void printRebaseTable(const object::ObjectFile *o);
|
||||
void printBindTable(const object::ObjectFile *o);
|
||||
void printLazyBindTable(const object::ObjectFile *o);
|
||||
void printWeakBindTable(const object::ObjectFile *o);
|
||||
void printRawClangAST(const object::ObjectFile *o);
|
||||
void PrintRelocations(const object::ObjectFile *o);
|
||||
void PrintSectionHeaders(const object::ObjectFile *o);
|
||||
void PrintSectionContents(const object::ObjectFile *o);
|
||||
|
Reference in New Issue
Block a user