[llvm] [llvm][Support][Memory] Add memfd based fallback for strict W^X Linux systems (PR #98538)

Jannik Glückert via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 10:40:53 PDT 2024


================
@@ -526,6 +526,7 @@ class raw_fd_ostream : public raw_pwrite_stream {
   /// this closes the file when the stream is destroyed. If FD is for stdout or
   /// stderr, it will not be closed.
   raw_fd_ostream(int fd, bool shouldClose, bool unbuffered = false,
+                 bool simpleStream = false,
----------------
Jannik2099 wrote:

IMO this parameter should be documented, `simpleStream` is a rather generic name and could apply to a myriad of file-like objects.

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


More information about the llvm-commits mailing list