[PATCH] D81220: [DWARFYAML][debug_ranges] Make the "Offset" field optional.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 4 22:01:20 PDT 2020


Higuoxing updated this revision to Diff 268662.
Higuoxing added a comment.

Add `assert(*DebugRanges.Offset >= CurrOffset)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81220

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81220.268662.patch
Type: text/x-patch
Size: 6007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/c6e2c0c3/attachment.bin>


More information about the llvm-commits mailing list