Add libcxx and clang-tools-extra to the testing thing.
[oota-llvm.git] / tools / obj2yaml / coff2yaml.cpp
index 3098cb5274943ddd62920a69284c188c5039de24..5106a4a44b60fd8919ba63fc6977e22b5e37f52e 100644 (file)
@@ -235,10 +235,6 @@ const char *nameLookup(const pod_pair<T, const char *> (&Arr)[N],
 
 static void yamlCOFFHeader(const object::coff_file_header *Header,
                            raw_ostream &Out) {
-  COFF::header H;
-  H.Machine = Header->Machine;
-  H.Characteristics = Header->Characteristics;
-
   Out << "header: !Header\n";
   Out << "  Machine: ";
   Out << nameLookup(MachineTypePairs, Header->Machine, "# Unknown_MachineTypes")