[PATCH] D115325: [DWARF] Fix PR51087 Extraneous enum record in DWARF with type units

Orlando Cazalet-Hyams via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 17 01:04:13 PST 2021


Orlando added a comment.

Thanks for the review @dblaikie



================
Comment at: llvm/test/DebugInfo/Generic/type-units-maybe-unused-types.ll:58
+; CHECK: DW_AT_type ([[DIE_Outer:[0-9a-fx]+]] "Outer")
+; CHECK-NOT: DW_AT_signature
+
----------------
dblaikie wrote:
> Might be able to use `--implicit-check-not=DW_AT_signature`?
I started with that but it meant I had to have a load of `CHECK: DW_AT_signature` between the type unit headers. The approach I've gone with here ends up using fewer checks (`CHECK-NOT`s).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115325/new/

https://reviews.llvm.org/D115325



More information about the llvm-commits mailing list