diff options
| author | 2025-03-11 16:06:39 -0700 | |
|---|---|---|
| committer | 2025-03-11 16:06:39 -0700 | |
| commit | 9cd3adf41570af8b787e02dc7bef1eed035d8f40 (patch) | |
| tree | 9d83f9bf049efd2fb05903a7e6bf356deb3a6532 /compiler/common_compiler_test.cc | |
| parent | 68440234b43e3e33f3cef439024d3bea6e62e39f (diff) | |
| parent | 199a768184b32b9d334d862356be8ad543dc8fde (diff) | |
Snap for 13197820 from 199a768184b32b9d334d862356be8ad543dc8fde to 25Q2-release
Change-Id: I87ba240391d7e2a635ee5fd8fb8dfe8d1778c529
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); |