[all-commits] [llvm/llvm-project] bf7afe: [lldb] Don't use NamedTemporaryFile to test compil...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Jul 31 13:21:36 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf7afe1dc9c36011457c57b87cbe48e89f105ce4
https://github.com/llvm/llvm-project/commit/bf7afe1dc9c36011457c57b87cbe48e89f105ce4
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
A lldb/packages/Python/lldbsuite/support/temp_file.py
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
Log Message:
-----------
[lldb] Don't use NamedTemporaryFile to test compiler support (#151387)
You cannot use a NamedTempFile with an external process because it may
not be flushed to disk. The safest and most portable approach is to
close the file, call the other process and then unlink the file
manually.
Presumably this works fine on Linux, but it fails on Darwin when
targeting remote-linux.
See https://bugs.python.org/issue29573
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list