diff options
| author | 2025-03-11 09:12:46 -0700 | |
|---|---|---|
| committer | 2025-03-11 09:12:51 -0700 | |
| commit | 336e3a0395148aebb8b8cac63eb2fac66d783094 (patch) | |
| tree | 9e56bf4d07972c31b21595ca9f95b314d7892b64 /compiler/common_compiler_test.cc | |
| parent | 9c5868e1a429e34fb07340ca7c65111b0112caf4 (diff) | |
| parent | db12a49bae7cad9b6e745fa457caaa30fd71ff14 (diff) | |
Remove memfd_create_compat(). am: ca2362c05e am: db12a49bae
Original change: https://android-review.googlesource.com/c/platform/art/+/3530657
Change-Id: Icc0449f8e32bdc1c550557e904172953928bb677
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); |