[PATCH] DebugInfo: Permit DW_TAG_structure_type, DW_TAG_member, DW_TAG_typedef tags with empty file names.

Paul Robinson Paul_Robinson at playstation.sony.com
Wed Mar 25 10:49:55 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: test/DebugInfo/X86/missing-file-line.ll:3
@@ +2,3 @@
+
+; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj %s -o - | llvm-dwarfdump -debug-dump=all - > %t
+; RUN: FileCheck --check-prefix=CHECK1 %s < %t
----------------
pcc wrote:
> dblaikie wrote:
> > Ideally just pipe dwarfdump's output straight to FileCheck without the intermediate %t - then just use a single set of CHECK (rather than 3 separate CHECK prefixes) lines for the tests.
> Previously I used `CHECK-DAG`, but I couldn't see a way to do the `CHECK-NOT` checks within a single run of FileCheck while keeping them order independent.
That would hard-code an order for the three DIEs, which is probably okay for the structure/member but I'm not so sure about the typedef.

http://reviews.llvm.org/D8588

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list