summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Jones <christopher.jones@arm.com> 2025-03-18 04:16:59 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-18 04:16:59 -0700
commit9bb87efde723f80da1a8d7fdbb0530063797e3d9 (patch)
tree356a56f5f525a4a87b667465b09b12310ce4fb60
parentfaad51b8311d406685fce9012b9bab46665f5a65 (diff)
parenta66221e5c024ed662d021e3b11ae7036c3dbdad9 (diff)
Update VIXL simulator features am: 5b8e94a000 am: a66221e5c0
Original change: https://android-review.googlesource.com/c/platform/art/+/3529418 Change-Id: I793436652e0eb46320115732cd90a90c7e3f0b85 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--simulator/code_simulator_arm64.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/simulator/code_simulator_arm64.cc b/simulator/code_simulator_arm64.cc
index 08a5deae1f..b9a0ce2a30 100644
--- a/simulator/code_simulator_arm64.cc
+++ b/simulator/code_simulator_arm64.cc
@@ -21,6 +21,10 @@
using namespace vixl::aarch64; // NOLINT(build/namespaces)
namespace art {
+
+// Enable the simulator debugger, disabled by default.
+static constexpr bool kSimDebuggerEnabled = false;
+
namespace arm64 {
// VIXL has not been tested on 32bit architectures, so Simulator is not always
@@ -48,6 +52,8 @@ CodeSimulatorArm64::CodeSimulatorArm64()
simulator_ = new Simulator(decoder_, stdout, std::move(stack));
simulator_->SetVectorLengthInBits(kArm64DefaultSVEVectorLength);
+ simulator_->DisableGCSCheck();
+ simulator_->SetDebuggerEnabled(kSimDebuggerEnabled);
}
CodeSimulatorArm64::~CodeSimulatorArm64() {