diff options
| author | 2025-03-11 08:39:41 -0700 | |
|---|---|---|
| committer | 2025-03-11 08:39:41 -0700 | |
| commit | db12a49bae7cad9b6e745fa457caaa30fd71ff14 (patch) | |
| tree | 36152bc873f94721ceadb803a329cd64dfb41910 /compiler/common_compiler_test.cc | |
| parent | ffd345e2757d9a9564ed96af949bc75e957a635d (diff) | |
| parent | ca2362c05e2fc05f9211e39ecb74857195b27780 (diff) | |
Remove memfd_create_compat(). am: ca2362c05e
Original change: https://android-review.googlesource.com/c/platform/art/+/3530657
Change-Id: If629fe33106d24609c083f8a629f7ddad8bf59b9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'compiler/common_compiler_test.cc')
| -rw-r--r-- | compiler/common_compiler_test.cc | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index e54c85f747..ef915e4152 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -63,7 +63,7 @@ class CommonCompilerTestImpl::CodeAndMetadata {      const uint32_t capacity = RoundUp(code_offset + code_size, page_size);      // Create a memfd handle with sufficient capacity. -    android::base::unique_fd mem_fd(art::memfd_create_compat("test code", /*flags=*/ 0)); +    android::base::unique_fd mem_fd(art::memfd_create("test code", /*flags=*/ 0));      CHECK_GE(mem_fd.get(), 0);      int err = ftruncate(mem_fd, capacity);      CHECK_EQ(err, 0); |