This patch makes the 'Values' field optional. This is useful when we
handcraft the terminating entry of DIEs.
debug_info: - Version: 4 ... Entries: - AbbrCode: 1 Values: - Value: 0x1234 - AbbrCode: 0 ## Termination
Paths
| Differential D85397
[DWARFYAML][debug_info] Make the 'Values' field optional. ClosedPublic Authored by Higuoxing on Aug 5 2020, 10:27 PM.
Details Summary This patch makes the 'Values' field optional. This is useful when we debug_info: - Version: 4 ... Entries: - AbbrCode: 1 Values: - Value: 0x1234 - AbbrCode: 0 ## Termination
Diff Detail
Unit TestsFailed Event TimelineComment Actions LGTM. Though better wait for a second opinion.
This revision is now accepted and ready to land.Aug 6 2020, 2:23 AM Higuoxing marked an inline comment as done. Comment ActionsAddress review comments. Thanks for reviewing! This revision was landed with ongoing or failed builds.Aug 6 2020, 5:44 AM Closed by commit rG40506d5e2fc5: [DWARFYAML][debug_info] Make the 'Values' field optional. (authored by Higuoxing). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 283486 llvm/lib/ObjectYAML/DWARFYAML.cpp
llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml
|
the 'Values' entry -> the Values` key for an entry` I guess is more clear.
(At first I thought hat Values is a property of debug_info.)