[all-commits] [llvm/llvm-project] 45a4f4: [DWARFYAML] Teach yaml2obj emit the correct line t...

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Aug 11 09:19:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 45a4f4c806669c60adc28a63b19f4e46b99c5efb
      https://github.com/llvm/llvm-project/commit/45a4f4c806669c60adc28a63b19f4e46b99c5efb
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

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

  Log Message:
  -----------
  [DWARFYAML] Teach yaml2obj emit the correct line table program.

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. Test the emitted opcodes.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D85717




More information about the All-commits mailing list