Print symbol names in relocations when dumping COFF as YAML.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2013-06-06 13:06:17 +00:00
parent 2ed7659b88
commit e3a0e7f29d
7 changed files with 42 additions and 23 deletions
+3 -3
View File
@@ -12,17 +12,17 @@ sections:
Relocations:
- !Relocation
VirtualAddress: 0xe
SymbolTableIndex: 5
SymbolName: L_.str
Type: IMAGE_REL_I386_DIR32
- !Relocation
VirtualAddress: 0x13
SymbolTableIndex: 6
SymbolName: _puts
Type: IMAGE_REL_I386_REL32
- !Relocation
VirtualAddress: 0x18
SymbolTableIndex: 7
SymbolName: _SomeOtherFunction
Type: IMAGE_REL_I386_REL32
- !Section
+3 -3
View File
@@ -11,17 +11,17 @@ sections:
Relocations:
- !Relocation
VirtualAddress: 0xf
SymbolTableIndex: 5
SymbolName: L.str
Type: IMAGE_REL_AMD64_REL32
- !Relocation
VirtualAddress: 0x14
SymbolTableIndex: 6
SymbolName: puts
Type: IMAGE_REL_AMD64_REL32
- !Relocation
VirtualAddress: 0x19
SymbolTableIndex: 7
SymbolName: SomeOtherFunction
Type: IMAGE_REL_AMD64_REL32
- !Section