[PATCH] D38240: [dwarfdump] Add support for -debug-line=OFFSET

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 08:45:02 PDT 2017


dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.

Seems good



================
Comment at: test/tools/llvm-dwarfdump/X86/debug_line_offset.test:1-11
+RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/basic-lto-dw4.macho.x86_64.o \
+RUN:  -debug-line=0x0 | FileCheck %s --check-prefix=CHECK-A
+
+CHECK-A: debug_line[0000000000000000]
+CHECK-A: Address            Line   Column File   ISA Discriminator Flags
+CHECK-A-NET: ------------------ ------ ------ ------ --- ------------- -------------
+CHECK-A-NET: 0x0000000000000000     26      0      1   0             0  is_stmt
----------------
I'd probably skip this test case? Or is there something interesting about the zero case?


Repository:
  rL LLVM

https://reviews.llvm.org/D38240





More information about the llvm-commits mailing list