[PATCH] D88355: [DWARFYAML] Make the opcode_base and the standard_opcode_lengths fields optional.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 01:52:05 PDT 2020


Higuoxing added inline comments.


================
Comment at: llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml:706
+      MinInstLength:         1
+      [[MAXOPSPERINST=MaxOpsPerInst: 0]]
+      DefaultIsStmt:         1
----------------
jhenderson wrote:
> I'm rather surprised that works, if I'm honest!
Yeah, the preprocessor of `yaml2obj` simply replaces strings that quoted by `[[]]`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88355/new/

https://reviews.llvm.org/D88355



More information about the llvm-commits mailing list