[Lldb-commits] [lldb] [llvm] [lldb] Fix write only file action to truncate the file (PR #112657)

via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 10:41:48 PDT 2024


================
@@ -6,6 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include <fcntl.h>
----------------
kusmour wrote:

Good question, from the code search it seems a lot of base classes have that #include. I don't have a windows machine to test with but I doubt this will break windows.
eg. https://github.com/llvm/llvm-project/blob/main/lldb/source/Host/common/File.cpp#L15-L19

https://github.com/llvm/llvm-project/pull/112657


More information about the lldb-commits mailing list