Teach llvm-readobj about WASM_SYMBOL_EXPLICIT_NAME.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I've tried to avoid checking in binaries when possible. Can you not check-in a yaml file instead and build the binary with yaml2obj?
Comment Actions
- Convert the test input to yaml.
- Add ObjectYAML support for EXPLICIT_NAME symbols too.
Comment Actions
I was thinking of embedding a minimal yaml in the test itself (and calling it test/tools/llvm-readobj/wasm-imports.yaml).. e.g. llvm/test/Object/wasm-duplicate-name.test or llvm/test/tools/llvm-readobj/wasm-invalid.test.
I don't feel strongly about it though. lgtm either way.
Comment Actions
Looks like this broke some tests:
/Users/buildslave/jenkins/workspace/clang-stage1-cmake-RA-incremental/llvm/test/MC/WebAssembly/import-module.ll:28:15: error: CHECK-NEXT: is not on the line after the previous match ; CHECK-NEXT: Flags: [ UNDEFINED ] ^ <stdin>:63:2: note: 'next' match was here Flags: [ UNDEFINED ] ^ <stdin>:57:11: note: previous match ended here Name: foo ^ <stdin>:58:1: note: non-matching line after previous match is here Flags: [ UNDEFINED, EXPLICIT_NAME ] ^
http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/60583/consoleFull