mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
tools: teach objdump about FILE aux records
Add support for file auxiliary symbol entries in COFF symbol tables. A COFF symbol table with a FILE entry is followed by sizeof(__FILE__) / 18 auxiliary symbol records which contain the filename. Read them and form the original filename that the record contains. Then display the name in the output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -287,6 +287,10 @@ struct coff_aux_weak_external {
|
||||
char Unused[10];
|
||||
};
|
||||
|
||||
struct coff_aux_file {
|
||||
char FileName[18];
|
||||
};
|
||||
|
||||
struct coff_aux_section_definition {
|
||||
support::ulittle32_t Length;
|
||||
support::ulittle16_t NumberOfRelocations;
|
||||
|
Reference in New Issue
Block a user