This patch makes the 'ExtLen' field of extended opcodes optional. We
don't need to manually calculate it in the future.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml | ||
---|---|---|
627 | Something's not quite right at the end of this number sequence, the dots don't line up with the words beneath. Do you actually need the dots? | |
628–636 | Where you're not interested in the header, maybe we could simplify this to just say something like ^------------------------ header? |
llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml | ||
---|---|---|
638 | Thinking about it, I guess we need something on this line to show that we've reached the end of the content (i.e. to show we haven't written any bogus extra data). Maybe something as simple as {{ }} (with more than one space). Other ideas also welcome. |
llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml | ||
---|---|---|
638 | I think you need more than one space in the pattern. Otherwise this will still match: Thinking about it, I don't think {{ }} (two spaces) will work without FileCheck's --strict-whitespace. You might just be better off adding the extra bit at the end of the line for this line only. |
Something's not quite right at the end of this number sequence, the dots don't line up with the words beneath. Do you actually need the dots?