reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

lib/Support/FileOutputBuffer.cpp
   34 class OnDiskBuffer : public FileOutputBuffer {
   76 class InMemoryBuffer : public FileOutputBuffer {

References

include/llvm/Support/BinaryByteStream.h
  209     StreamImpl(std::unique_ptr<FileOutputBuffer> Buffer,
  231     std::unique_ptr<FileOutputBuffer> FileBuffer;
  235   FileBufferByteStream(std::unique_ptr<FileOutputBuffer> Buffer,
include/llvm/Support/FileOutputBuffer.h
   46   static Expected<std::unique_ptr<FileOutputBuffer>>
lib/DebugInfo/MSF/MSFBuilder.cpp
  347   auto OutFileOrError = FileOutputBuffer::create(Path, FileSize);
lib/Support/FileOutputBuffer.cpp
   34 class OnDiskBuffer : public FileOutputBuffer {
   76 class InMemoryBuffer : public FileOutputBuffer {
  127 static Expected<std::unique_ptr<FileOutputBuffer>>
  165 Expected<std::unique_ptr<FileOutputBuffer>>
tools/lld/COFF/Writer.cpp
  237   std::unique_ptr<FileOutputBuffer> &buffer;
tools/lld/Common/Filesystem.cpp
   98   return errorToErrorCode(FileOutputBuffer::create(path, 1).takeError());
tools/lld/ELF/Writer.cpp
   79   std::unique_ptr<FileOutputBuffer> &buffer;
 2596     flags = FileOutputBuffer::F_executable;
 2597   Expected<std::unique_ptr<FileOutputBuffer>> bufferOrErr =
 2598       FileOutputBuffer::create(config->outputFile, fileSize, flags);
tools/lld/include/lld/Common/ErrorHandler.h
  101   std::unique_ptr<llvm::FileOutputBuffer> outputBuffer;
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp
 1533     flags = llvm::FileOutputBuffer::F_executable;
 1534   Expected<std::unique_ptr<llvm::FileOutputBuffer>> fobOrErr =
 1535       llvm::FileOutputBuffer::create(path, size(), flags);
 1538   std::unique_ptr<llvm::FileOutputBuffer> &fob = *fobOrErr;
tools/lld/wasm/Writer.cpp
   98   std::unique_ptr<FileOutputBuffer> buffer;
 1079   Expected<std::unique_ptr<FileOutputBuffer>> bufferOrErr =
 1080       FileOutputBuffer::create(config->outputFile, fileSize,
 1081                                FileOutputBuffer::F_executable);
tools/llvm-cvtres/llvm-cvtres.cpp
  200       FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize());
  203   std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr);
tools/llvm-lipo/llvm-lipo.cpp
  570   Expected<std::unique_ptr<FileOutputBuffer>> OutFileOrError =
  571       FileOutputBuffer::create(OutputFileName,
  574                                    ? FileOutputBuffer::F_executable
  693   Expected<std::unique_ptr<FileOutputBuffer>> OutFileOrError =
  694       FileOutputBuffer::create(OutputFileName, OutputFileSize,
  695                                IsExecutable ? FileOutputBuffer::F_executable
  699   std::unique_ptr<FileOutputBuffer> OutFile = std::move(OutFileOrError.get());
tools/llvm-mt/llvm-mt.cpp
  150   Expected<std::unique_ptr<FileOutputBuffer>> FileOrErr =
  151       FileOutputBuffer::create(OutputFile, OutputBuffer->getBufferSize());
  154   std::unique_ptr<FileOutputBuffer> FileBuffer = std::move(*FileOrErr);
tools/llvm-objcopy/Buffer.cpp
   38   Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
   39       FileOutputBuffer::create(getName(), Size, FileOutputBuffer::F_executable);
   39       FileOutputBuffer::create(getName(), Size, FileOutputBuffer::F_executable);
tools/llvm-objcopy/Buffer.h
   39   std::unique_ptr<FileOutputBuffer> Buf;
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  292       Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
  293           FileOutputBuffer::create(Filename, Sec.OriginalData.size());
  296       std::unique_ptr<FileOutputBuffer> Buf = std::move(*BufferOrErr);
tools/llvm-pdbutil/llvm-pdbutil.cpp
 1388       FileOutputBuffer::create(OutFileName, SourceStream->getLength()));
unittests/Support/FileOutputBufferTest.cpp
   45     Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
   46         FileOutputBuffer::create(File1, 8192);
   48     std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr;
   67     Expected<std::unique_ptr<FileOutputBuffer>> Buffer2OrErr =
   68         FileOutputBuffer::create(File2, 8192);
   70     std::unique_ptr<FileOutputBuffer> &Buffer2 = *Buffer2OrErr;
   84     Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
   85         FileOutputBuffer::create(File3, 8192000);
   87     std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr;
  105     Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
  106         FileOutputBuffer::create(File4, 8192, FileOutputBuffer::F_executable);
  106         FileOutputBuffer::create(File4, 8192, FileOutputBuffer::F_executable);
  108     std::unique_ptr<FileOutputBuffer> &Buffer = *BufferOrErr;
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  297           __safe_conversion_up<_Up, _Ep>,
  301 	operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>