[llvm] r201380 - DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded

Juergen Ributzka juergen at apple.com
Thu Feb 13 18:33:18 PST 2014


Hi David,

this fails on Darwin with:
; CHECK: total_length: 0x00000019
         ^
<stdin>:6:2: note: scanning from here
 total_length: 0x0000001e

Could you please take a look?

Thanks

-Juergen


On Feb 13, 2014, at 5:58 PM, David Blaikie <dblaikie at gmail.com> wrote:

> Added: llvm/trunk/test/DebugInfo/empty.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/empty.ll?rev=201380&view=auto
> ==============================================================================
> --- llvm/trunk/test/DebugInfo/empty.ll (added)
> +++ llvm/trunk/test/DebugInfo/empty.ll Thu Feb 13 19:57:59 2014
> @@ -0,0 +1,20 @@
> +; RUN: llc %s -o %t -filetype=obj
> +; RUN: llvm-dwarfdump -debug-dump=line %t | FileCheck %s
> +
> +; PR18809
> +; XFAIL: cygwin,mingw32
> +
> +; Expect no line table entry since there are no functions and file references in this compile unit
> +; CHECK: .debug_line contents:
> +; CHECK: Line table prologue:
> +; CHECK: total_length: 0x00000019
> +; CHECK-NOT: file_names[
> +

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/fc3d0861/attachment.html>


More information about the llvm-commits mailing list