This is similar to what we did earlier for fields of the Section class.
When a field is optional we can use the =<none> syntax in macros.
This was splitted from D92478.
Paths
| Differential D92565
[yaml2obj,obj2yaml] - Make Symbol::Section field optional. ClosedPublic Authored by grimar on Dec 3 2020, 3:47 AM.
Details Summary This is similar to what we did earlier for fields of the Section class. When a field is optional we can use the =<none> syntax in macros. This was splitted from D92478.
Diff Detail
Event Timelinegrimar added a child revision: D92545: [llvm-readobj/elf] - Refine the implementation of "printFunctionStackSize".. This revision is now accepted and ready to land.Dec 3 2020, 10:34 PM grimar marked an inline comment as done. Comment Actions
Closed by commit rG7ac06444b8ba: [yaml2obj,obj2yaml] - Make Symbol::Section field optional. (authored by grimar). · Explain WhyDec 4 2020, 2:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 309499 llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/yaml2obj/ELF/dynamic-symbols.yaml
|
You may need a test where Section: is empty