diff --git a/include/llvm/System/MappedFile.h b/include/llvm/System/MappedFile.h index 0a3f21b67fb..526d11b4dac 100644 --- a/include/llvm/System/MappedFile.h +++ b/include/llvm/System/MappedFile.h @@ -121,6 +121,8 @@ namespace sys { /// @brief Set the size of the file and memory mapping. void size(size_t new_size); + void close() { terminate(); } + /// @} /// @name Implementation /// @{