summaryrefslogtreecommitdiff
path: root/test/Object/Inputs
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-06 13:06:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-06 13:06:17 +0000
commite3a0e7f29dde261ca00835e763e26de41a8684f6 (patch)
treeb3d0775b1c7e332bd720f4d991c9b9869d7b16d8 /test/Object/Inputs
parent2ed7659b88db1b0f3e5e6e6d9920c1d149159986 (diff)
downloadllvm-e3a0e7f29dde261ca00835e763e26de41a8684f6.tar.gz
llvm-e3a0e7f29dde261ca00835e763e26de41a8684f6.tar.bz2
llvm-e3a0e7f29dde261ca00835e763e26de41a8684f6.tar.xz
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
Diffstat (limited to 'test/Object/Inputs')
-rw-r--r--test/Object/Inputs/COFF/i386.yaml6
-rw-r--r--test/Object/Inputs/COFF/x86-64.yaml6
2 files changed, 6 insertions, 6 deletions
diff --git a/test/Object/Inputs/COFF/i386.yaml b/test/Object/Inputs/COFF/i386.yaml
index f7631821c1..1badad8d59 100644
--- a/test/Object/Inputs/COFF/i386.yaml
+++ b/test/Object/Inputs/COFF/i386.yaml
@@ -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
diff --git a/test/Object/Inputs/COFF/x86-64.yaml b/test/Object/Inputs/COFF/x86-64.yaml
index 5134071cda..b775ae9cdf 100644
--- a/test/Object/Inputs/COFF/x86-64.yaml
+++ b/test/Object/Inputs/COFF/x86-64.yaml
@@ -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