[llvm] [DebugInfo][RemoveDIs] Support DPValues in HWAsan (PR #78731)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 15:17:20 PST 2024


================
@@ -1532,8 +1539,8 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
 
   assert(!ShadowBase);
 
-  Instruction *InsertPt = &*F.getEntryBlock().begin();
-  IRBuilder<> EntryIRB(InsertPt);
+  BasicBlock::iterator InsertPt = F.getEntryBlock().begin();
----------------
fmayer wrote:

For my understanding: Can you quickly explain why this (and related changes below) are needed?

https://github.com/llvm/llvm-project/pull/78731


More information about the llvm-commits mailing list