[PATCH] D40413: [CodeExtractor] Add debug locations for new call and branch instrs.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 4 13:32:35 PST 2017
aprantl added a comment.
Thanks! I found one actual problem with the assertion.
================
Comment at: lib/Transforms/Utils/CodeExtractor.cpp:1050
+ }
+ assert(BranchI->getDebugLoc() && "Could not find debug location in header");
+ }
----------------
This assertion will fail if you haved a nodebug function inlined into a function with debuginfo.
https://reviews.llvm.org/D40413
More information about the llvm-commits
mailing list