Skip to content

Commit 92a99c4

Browse files
authored
Merge pull request #7821 from apple/cherrypick/5.10/ec6a34e2a781
[lldb] Pass important options to dsymForUUID (llvm#72669)
2 parents 053e352 + 0b7f927 commit 92a99c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lldb/examples/python/crashlog.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,11 @@ def locate_module_and_debug_symbols(self):
356356
# Keep track of unresolved source paths.
357357
unavailable_source_paths = set()
358358
if os.path.exists(self.dsymForUUIDBinary):
359-
dsym_for_uuid_command = "%s %s" % (self.dsymForUUIDBinary, uuid_str)
359+
dsym_for_uuid_command = (
360+
"{} --copyExecutable --ignoreNegativeCache {}".format(
361+
self.dsymForUUIDBinary, uuid_str
362+
)
363+
)
360364
s = subprocess.check_output(dsym_for_uuid_command, shell=True)
361365
if s:
362366
try:

0 commit comments

Comments
 (0)