summaryrefslogtreecommitdiff
path: root/compiler/compiler_reflection_test.cc
diff options
context:
space:
mode:
author Ruben Ayrapetyan <ruben.ayrapetyan@arm.com> 2023-12-20 18:53:39 +0000
committer Steven Moreland <smoreland@google.com> 2024-01-03 18:58:36 +0000
commit7e0689862ab045327374985711f8d43cffdee271 (patch)
tree195a66faa82cce6a72c96270e2a813f5c208af5c /compiler/compiler_reflection_test.cc
parent722f631379eb12438a630fe8960923fc91d86c5e (diff)
Preserve file sparsity in FdFile::Copy
Use lseek SEEK_DATA / SEEK_HOLE in FdFile::Copy to avoid writing empty blocks. This helps to save disk space on file systems that support sparse files. Test: art/tools/run-gtests.sh Change-Id: Idb9202f4b9473c79225a9301bebd495c80bd6558
Diffstat (limited to 'compiler/compiler_reflection_test.cc')
0 files changed, 0 insertions, 0 deletions