This is required for D74393.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Could you write a yaml2obj test that uses one or two of those NT values (as well as showing that the hex version works too), please? There's probably already a test that uses hex values for notes, so that would be the one to expand.
| llvm/lib/ObjectYAML/ELFYAML.cpp | ||
|---|---|---|
| 76 | Nit: here and most comments below, add a trailing full stop. | |
| llvm/lib/ObjectYAML/ELFYAML.cpp | ||
|---|---|---|
| 76 | I coped those from ELF.h, will add full stops there too. | |
LGTM, with one optional suggestion.
| llvm/test/tools/yaml2obj/ELF/note-section.yaml | ||
|---|---|---|
| 310 ↗ | (On Diff #321345) | Alternatively, -x .note.foo would be enough. Not sure which is simpler. |
Nit: here and most comments below, add a trailing full stop.