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
diff --git a/test/Object/obj2yaml.test b/test/Object/obj2yaml.test
index 6c87268..4954133 100644
--- a/test/Object/obj2yaml.test
+++ b/test/Object/obj2yaml.test
@@ -13,15 +13,15 @@
 
 COFF-I386:    Relocations:
 COFF-I386-NEXT:      - VirtualAddress: 14
-COFF-I386-NEXT:        SymbolTableIndex: 5
+COFF-I386-NEXT:        SymbolName: L_.str
 COFF-I386-NEXT:        Type: IMAGE_REL_I386_DIR32
 
 COFF-I386:           - VirtualAddress: 19
-COFF-I386-NEXT:        SymbolTableIndex: 6
+COFF-I386-NEXT:        SymbolName: _puts
 COFF-I386-NEXT:        Type: IMAGE_REL_I386_REL32
 
 COFF-I386:           - VirtualAddress: 24
-COFF-I386-NEXT:        SymbolTableIndex: 7
+COFF-I386-NEXT:        SymbolName: _SomeOtherFunction
 COFF-I386-NEXT:        Type: IMAGE_REL_I386_REL32
 
 COFF-I386:       - Name: .data
@@ -88,15 +88,15 @@
 
 COFF-X86-64:     Relocations:
 COFF-X86-64-NEXT:       - VirtualAddress: 15
-COFF-X86-64-NEXT:         SymbolTableIndex: 5
+COFF-X86-64-NEXT:         SymbolName: L.str
 COFF-X86-64-NEXT:         Type: IMAGE_REL_AMD64_REL32
 
 COFF-X86-64:            - VirtualAddress: 20
-COFF-X86-64-NEXT:         SymbolTableIndex: 6
+COFF-X86-64-NEXT:         SymbolName: puts
 COFF-X86-64-NEXT:         Type: IMAGE_REL_AMD64_REL32
 
 COFF-X86-64:            - VirtualAddress: 25
-COFF-X86-64-NEXT:         SymbolTableIndex: 7
+COFF-X86-64-NEXT:         SymbolName: SomeOtherFunction
 COFF-X86-64-NEXT:         Type: IMAGE_REL_AMD64_REL32
 
 COFF-X86-64:        - Name: .data