[PATCH] D85717: [DWARFYAML] Teach yaml2obj emit the correct line table program.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 02:53:58 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, hiraditya, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
Higuoxing requested review of this revision.

The following issues are addressed in this patch.

1. The operands of DW_LNE_set_discriminator should be an ULEB128 number rather than an address.
2. Make the error message clearer.
3. Test the emitted opcodes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85717

Files:
  llvm/lib/ObjectYAML/DWARFEmitter.cpp
  llvm/test/tools/yaml2obj/ELF/DWARF/debug-line.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85717.284622.patch
Type: text/x-patch
Size: 9356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/e8b93dc3/attachment.bin>


More information about the llvm-commits mailing list