[all-commits] [llvm/llvm-project] e4344e: [DWARFYAML][debug_ranges] Emit an error message fo...

Xing GUO via All-commits all-commits at lists.llvm.org
Tue Jun 9 03:49:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e4344e1466420e3f17b268916558249d5f1b8f49
      https://github.com/llvm/llvm-project/commit/e4344e1466420e3f17b268916558249d5f1b8f49
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M llvm/include/llvm/ObjectYAML/DWARFYAML.h
    M llvm/lib/ObjectYAML/DWARFEmitter.cpp
    M llvm/test/tools/yaml2obj/ELF/DWARF/debug-ranges.yaml

  Log Message:
  -----------
  [DWARFYAML][debug_ranges] Emit an error message for invalid offset.

This patch helps make yaml2obj emit an error message when we try to assign an invalid offset to the entry of the 'debug_ranges' section.

Reviewed By: jhenderson

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




More information about the All-commits mailing list