Revert "llvm-objdump: support dumping AUX records for weak externals"

Revert it until we can figure out the endianness issue.

llvm-svn: 270667
This commit is contained in:
Saleem Abdulrasool 2016-05-25 05:45:02 +00:00
parent 34cc8eb307
commit 546e64affd
3 changed files with 0 additions and 37 deletions

View File

@ -1,26 +0,0 @@
---
header:
Machine: IMAGE_FILE_MACHINE_ARMNT
Characteristics: [ ]
sections:
- Name: .rdata
Characteristics: [ IMAGE_SCN_CNT_INITIALIZED_DATA, IMAGE_SCN_MEM_READ ]
Alignment: 1
SectionData: ''
symbols:
- Name: Function
Value: 0
SectionNumber: 0
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_WEAK_EXTERNAL
WeakExternal:
TagIndex: 9
Characteristics: IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
- Name: .weak.Function.default
Value: 0
SectionNumber: -1
SimpleType: IMAGE_SYM_TYPE_NULL
ComplexType: IMAGE_SYM_DTYPE_NULL
StorageClass: IMAGE_SYM_CLASS_EXTERNAL
...

View File

@ -1,5 +0,0 @@
RUN: llvm-objdump -t %p/Inputs/COFF/weak-externals.obj | FileCheck %s
CHECK: [ 0](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 Function
CHECK: AUX tagndx 9 type 2

View File

@ -653,12 +653,6 @@ void llvm::printCOFFSymbolTable(const COFFObjectFile *coff) {
SI = SI + Symbol->getNumberOfAuxSymbols();
break;
} else if (Symbol->isWeakExternal()) {
const coff_aux_weak_external *awe;
error(coff->getAuxSymbol<coff_aux_weak_external>(SI + 1, awe));
outs() << "AUX " << format("tagndx %d type %d\n", awe->TagIndex,
awe->Characteristics);
} else {
outs() << "AUX Unknown\n";
}