diff options
| author | 2016-02-01 15:23:20 +0000 | |
|---|---|---|
| committer | 2016-02-01 15:23:20 +0000 | |
| commit | 324302696c0a93511fef1310d309a54ebfb25a46 (patch) | |
| tree | 3122d6ffaf46bf93364278f387e8c2ff6ff310a4 /compiler/driver/compiler_driver.cc | |
| parent | ba5ea7003f071f85936ee351aff46f64a56ee096 (diff) | |
Ensure instruction cache is flushed in compiler tests with Clang.
Invoke __builtin___clear_cache with Clang in
art::CommonCompilerTest::MakeExecutable. This fixes
"Illegal instruction" failures in codegen_test on angler.
Factor this logic in a function and use it in
art::jit::JitCodeCache::CommitCodeInternal too.
Bug: 26786447
Change-Id: I81fa056c8d7c6bf2168c9340deeab82231cb1084
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
0 files changed, 0 insertions, 0 deletions