yaml2obj previously only recognised standard STT_* names, and didn't allow arbitrary numbers. This change allows the user to specify a number for the type instead. It also adds a test to verify the existing behaviour for obj2yaml for unkown symbol types.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/tools/yaml2obj/symbol-type.yaml | ||
---|---|---|
5 ↗ | (On Diff #185561) | Oh, maybe use CHECK-NEXT? |
test/tools/yaml2obj/symbol-type.yaml | ||
---|---|---|
5 ↗ | (On Diff #185561) | These aren't on adjacent lines, so CHECK-NEXT would have to check things like the value line etc in between. |
test/tools/yaml2obj/symbol-type.yaml | ||
---|---|---|
5 ↗ | (On Diff #185561) | OK. |