| 151 | } |
| 152 | |
| 153 | ErrorOr<std::unique_ptr<MemoryBuffer>> |
| 154 | MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize, |
| 155 | uint64_t Offset, bool IsVolatile) { |
| 156 | return getFileAux<MemoryBuffer>(FilePath, -1, MapSize, Offset, false, |
| 157 | IsVolatile); |
| 158 | } |
| 159 | |
| 160 | //===----------------------------------------------------------------------===// |
| 161 | // MemoryBuffer::getFile implementation. |
nothing calls this directly
no test coverage detected