[PATCH] D36029: [sanitizer_common] Disable filesystem-related code for Fuchsia

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 17:33:24 PDT 2017


mcgrathr added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_suppressions.cc:63
   }
+#endif // !SANITIZER_FUCHSIA
 
----------------
vitalybuka wrote:
> if this is not going to support filesystem, why only part of the function is disabled?
Fuchsia does not support filesystem-oriented calls per se, but it does implement ReadFileToBuffer in its own way, where the "file name" is treated as an "identifier for configuration text blob" passed to a system service.


Repository:
  rL LLVM

https://reviews.llvm.org/D36029





More information about the llvm-commits mailing list