Allow SMUL_LOHI and UMUL_LOHI to be narrow to MUL on targets where MUL is Custom...
[oota-llvm.git] / lib / Object / COFFYAML.cpp
index e3c2a45977c136498751257bbd21f7f1d6f98862..e549b4e9ea258b54b9fdd9092291b5c64473c491 100644 (file)
@@ -229,11 +229,12 @@ struct NType {
 
 }
 
-void MappingTraits<COFF::relocation>::mapping(IO &IO, COFF::relocation &Rel) {
+void MappingTraits<COFFYAML::Relocation>::mapping(IO &IO,
+                                                  COFFYAML::Relocation &Rel) {
   MappingNormalization<NType, uint16_t> NT(IO, Rel.Type);
 
   IO.mapRequired("VirtualAddress", Rel.VirtualAddress);
-  IO.mapRequired("SymbolTableIndex", Rel.SymbolTableIndex);
+  IO.mapRequired("SymbolName", Rel.SymbolName);
   IO.mapRequired("Type", NT->Type);
 }