[PATCH] D18236: DebugInfo: Add ability to not emit DW_AT_vtable_elem_location for virtual functions.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 19:19:48 PDT 2016


pcc created this revision.
pcc added reviewers: dblaikie, echristo, dexonsmith.
pcc added a subscriber: llvm-commits.

A virtual index of -1u indicates that the subprogram's virtual index is
unrepresentable (for example, when using the relative vtable ABI), so do
not emit a DW_AT_vtable_elem_location attribute for it.

http://reviews.llvm.org/D18236

Files:
  include/llvm/IR/DIBuilder.h
  lib/AsmParser/LLParser.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/DIBuilder.cpp
  test/Assembler/disubprogram.ll
  test/DebugInfo/Generic/virtual-index.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18236.50904.patch
Type: text/x-patch
Size: 11878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160317/0092a377/attachment.bin>


More information about the llvm-commits mailing list