[Lldb-commits] [PATCH] D157167: [lldb] Add flag to DynamicLoader::LoadBinaryWithUUIDAndAddress to control whether we fall back to reading the binary out of memory
Alex Langford via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 7 09:01:52 PDT 2023
bulbazord added a comment.
I don't have any objections other than the questions Jonas has asked. LGTM otherwise
================
Comment at: lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py:38-39
)
+ if self.TraceOn():
+ self.runCmd("script print('Creating corefile with command %s')" % cmd)
call(cmd, shell=True)
----------------
JDevlieghere wrote:
> Out of curiosity what's the point of doing `self.runCmd("script print ...` vs printing the same thing directly? Does this run in another context or something? Do we save the command output somewhere?
I'm also curious. Printing directly is probably less expensive than running a print command through the lldb python script interpreter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157167/new/
https://reviews.llvm.org/D157167
More information about the lldb-commits
mailing list