Simplify yaml2obj a bit.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Apr 2013 19:26:43 +0000 (19:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 23 Apr 2013 19:26:43 +0000 (19:26 +0000)
commitc0f15f67038ef3967c2c728d050ad6da0c098f10
tree785e8f69a488ec978c8aea9633c1a8a3d1ac5af3
parent47089c91aea7bdd8b2fa81223dfdd3484a20fd12
Simplify yaml2obj a bit.

The COFFParser now contains only a COFFYAML::Object and the string table
(which is recomputed, not serialized).

The structs in COFFParser now all begin with a Header field with what is
actually on the COFF object. The other fields are things that are semantically
part of the struct (relocations in a section for exmaple), but are not actually
represented that way in the object file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180134 91177308-0d34-0410-b5e6-96231b3b80d8
tools/yaml2obj/yaml2obj.cpp