[PATCH] D34758: [YAML] - Teach yaml2obj/obj2yaml to work with numeric relocation values.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 28 10:17:38 PDT 2017
ruiu added a comment.
It seems you can do this without modifying YAMLTraits.h. You can set some invalid value (such as -1) to `Value` at beginning of `ScalarEnumerationTraits<ELFYAML::ELF_REL>::enumeration` and then check if it still has the invalid value after the switch.
https://reviews.llvm.org/D34758
More information about the llvm-commits
mailing list