[PATCH] D45396: [DebugInfo] Create merged locations for instructions other than calls

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 10 14:45:04 PDT 2018


rnk added inline comments.


================
Comment at: lib/IR/DebugInfoMetadata.cpp:73
+                                                const DILocation *LocB,
+                                                bool GenerateLocation) {
   if (!LocA || !LocB)
----------------
Who are the primary callers that pass false here? mem2reg, I guess? If the bool is short-lived, sounds good.


https://reviews.llvm.org/D45396





More information about the llvm-commits mailing list