[PATCH] D63764: [Sanitizers] Remove obsolete OpenFile from sanitizer_solaris.cc

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 01:41:31 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364892: [Sanitizers] Remove obsolete OpenFile from sanitizer_solaris.cc (authored by ro, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D63764?vs=206416&id=207487#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63764/new/

https://reviews.llvm.org/D63764

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_solaris.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_solaris.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_solaris.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_solaris.cc
@@ -88,11 +88,6 @@
   return _REAL64(open)(filename, flags, mode);
 }
 
-uptr OpenFile(const char *filename, bool write) {
-  return ReserveStandardFds(
-      internal_open(filename, write ? O_WRONLY | O_CREAT : O_RDONLY, 0660));
-}
-
 DECLARE__REAL_AND_INTERNAL(uptr, read, fd_t fd, void *buf, uptr count) {
   return _REAL(read)(fd, buf, count);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63764.207487.patch
Type: text/x-patch
Size: 615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190702/b9ddb156/attachment.bin>


More information about the llvm-commits mailing list