[PATCH] D86799: [WIP] Experimental Debug Location Verifier.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 12:45:05 PDT 2020


aprantl added a comment.
Herald added a subscriber: danielkiss.

Yes, triggers a similar error in debug mode:

  lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o -c /Volumes/Data/llvm-project/llvm/lib/Support/CommandLine.cpp
  Occurence of source location from an operand does not dominate instruction.
    %25 = phi i1 [ false, %while.cond12 ], [ %lnot17, %land.rhs14 ], !dbg !18832
  !18832 = !DILocation(line: 0, scope: !18830)
    %16 = phi i1 [ false, %while.cond ], [ %call5, %land.rhs3 ], !dbg !18832

Ah! I got to remove line: 0 locations.


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

https://reviews.llvm.org/D86799



More information about the llvm-commits mailing list