[Lldb-commits] [lldb] [lldb] Use BasicBlock::iterator instead of InsertPosition (NFC) (PR #112307)
Jeremy Morse via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 15 03:57:30 PDT 2024
================
@@ -514,7 +513,8 @@ bool IRForTarget::RewriteObjCConstString(llvm::GlobalVariable *ns_str,
m_CFStringCreateWithBytes, CFSCWB_arguments,
"CFStringCreateWithBytes",
llvm::cast<Instruction>(
- m_entry_instruction_finder.GetValue(function)));
+ m_entry_instruction_finder.GetValue(function))
+ ->getIterator());
----------------
jmorse wrote:
Similar story to above, `FindEntryInstruction` uses a debug-intrinsic skipping function, so there's no need to pass around the iterator as a position.
https://github.com/llvm/llvm-project/pull/112307
More information about the lldb-commits
mailing list