[PATCH] Use yaml::IO in yaml2obj.cpp
Alex Rosenberg
alexr at leftfield.org
Tue Apr 2 11:29:57 PDT 2013
================
Comment at: utils/yaml2obj/yaml2obj.cpp:244
@@ -667,5 +243,3 @@
bool parse() {
- yaml::Document &D = *YS.begin();
- yaml::MappingNode *Root = dyn_cast<yaml::MappingNode>(D.getRoot());
- if (!Root) {
- YS.printError(D.getRoot(), "Root node must be a map");
+ Header.Machine = Obj.HeaderData.Machine;
+ if (!parseSections())
----------------
Not parsing the characteristics form Header?
http://llvm-reviews.chandlerc.com/D610
More information about the llvm-commits
mailing list