commit | c66f9a885c81423c6012235300d8d0f11f2c31fe | [log] [tgz] |
---|---|---|
author | Lev Rumyantsev <levarum@google.com> | Fri Jun 30 18:09:19 2023 -0700 |
committer | Lev Rumyantsev <levarum@google.com> | Mon Jul 03 17:19:24 2023 -0700 |
tree | c6e8e699b98b2e08bc75d8b16e2164d042ffc1f7 | |
parent | 2ac7eb4e080eb462c8201c96ce0b2a5a69f9c934 [diff] |
lite-tr: fix code array size in tests When interpreted as a template parameter array becomes a pointer with the corresponding size (4 or 8) so sizeof(code) is not what we want it to be. This CL changes the way to pass the array so that its size can be taken from inside the template function. Test: berberis_host_tests Bug: 286247292 Change-Id: I15253b0d6256126e7a15f2fbd370ddd715e508d0
Berberis: dynamic binary translator to run Android apps with riscv64 native code on x86_64 devices or emulators.