mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-11 06:06:52 +00:00
Allow explicit closing of the MappedFile, before destruction
llvm-svn: 17759
This commit is contained in:
parent
df6952563a
commit
858bc78223
@ -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
|
||||
/// @{
|
||||
|
Loading…
x
Reference in New Issue
Block a user