[PATCH] D37877: Update getMergedLocation to check the instruction type and merge properly.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 13:53:49 PDT 2017


aprantl added inline comments.


================
Comment at: include/llvm/IR/DebugInfoMetadata.h:1447
 
+  static void applyMergedLocation(
+      Instruction *Inst, const DILocation *LocA, const DILocation *LocB);
----------------
Sorry, one more thing: Why is this a static function instead of a member?


https://reviews.llvm.org/D37877





More information about the llvm-commits mailing list