[llvm] r192861 - Add the subprogram DIEs to the context they're created with only

David Blaikie dblaikie at gmail.com
Thu Oct 24 16:30:11 PDT 2013


> There are cases where we have a SP definition with a null declaration
>> field.
>>
>>
> Are you sure? Do you have an example?
>

Non-member functions, such as this simple CU:

  void func() {
  }

produces DWARF with a subprogram list of one element, a DW_TAG_subprogram
of 'func' with a null declaration field.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131024/bc028ff0/attachment.html>


More information about the llvm-commits mailing list