[PATCH] D32228: [DWARF] - Take relocations in account when extracting ranges from .debug_ranges
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 03:21:43 PDT 2017
?>I'm not sure I understand - an empty void function (void f() {}) should not be zero-length. It would contain a single 'ret' >instruction, no?
I was fixing the case from testcase, where there is asm code that produces zero length range:
.section .text.foo1,"ax", at progbits
.Lfunc_begin0:
.Lfunc_end0:?
llvm-dwarfdump thinks this zero range is terminator now when dumps object file.
I provided more details about this on review page.
George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170421/34089e6f/attachment.html>
More information about the llvm-commits
mailing list