[PATCH] D45024: [DebugInfo] Add DILabel metadata and create class DILabel.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 30 09:51:26 PDT 2018


aprantl added inline comments.


================
Comment at: include/llvm/IR/DebugInfoMetadata.h:2615
+
+  DILabel(LLVMContext &C, StorageType Storage, unsigned Line,
+          ArrayRef<Metadata *> Ops)
----------------
Why do we need to store the Line in the DILabel? Isn't it redundant with the DILocation !dbg attachment  on the dbg.label  intrinsic?


Repository:
  rL LLVM

https://reviews.llvm.org/D45024





More information about the llvm-commits mailing list