The File::OpenOptions were renamed; this fixes up a callsite that breaks for macOS builds. (See https://github.com/llvm/llvm-project/commit/14735cab655441ba45c4b88ad82f11267e5fe916)
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, thanks. I assume you don't have commit access so I'll land this for you in a minute :)
Comment Actions
I'm sorry about missing this.
lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.mm | ||
---|---|---|
427–433 |
Comment Actions
@teemperor please hold while I figure out how to update the patch with @mgorny 's cleaner suggestion. :)
Comment Actions
My bad, I missed that the patch isn't just renaming but actually adding a new option. Let me run the tests with the proposed change (feel free to update the review in the meantime)
Comment Actions
I'm landing this to unbreak Green Dragon.
@mgorny Just a heads up, I think this also broke one test with debugserver:
====================================================================== FAIL: test_platform_file_wronly_trunc_debugserver (TestGdbRemotePlatformFile.TestGdbRemotePlatformFile) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 52, in test_method return attrvalue(self) File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 119, in wrapper func(*args, **kwargs) File "/Users/teemperor/1llvm/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py", line 42, in test_platform_file_wronly_trunc self.vFile_test(write=True, trunc=True) File "/Users/teemperor/1llvm/llvm-project/lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py", line 146, in vFile_test context = self.expect_gdbremote_sequence() File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testcase.py", line 621, in expect_gdbremote_sequence return expect_lldb_gdbserver_replay( File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 198, in expect_lldb_gdbserver_replay context = sequence_entry.assert_match( File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 479, in assert_match return self._assert_regex_match(asserter, actual_packet, context) File "/Users/teemperor/1llvm/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py", line 446, in _assert_regex_match asserter.fail( AssertionError: regex '^\$F([0-9a-fA-F]+)#[0-9a-fA-F]{2}$' failed to match against content '$#00' Config=x86_64-/Users/teemperor/1llvm/rel/bin/clang --------------------------------------------------------
( TestGdbRemotePlatformFile's different subtests fail with same/similar errors).