summaryrefslogtreecommitdiff
path: root/debuggerd
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-05-16 22:36:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-16 22:36:33 +0000
commit57db6f453ce9009beedbc64f9ec925caddc0929c (patch)
tree65788ebfd06decc4b89627455cf3030bd949b420 /debuggerd
parent4f88e4b79a4d83ca13cf53ab33af13e2bd975041 (diff)
parent3a9a989484451f2345d87901056df63dcf9796b5 (diff)
downloadcore-57db6f453ce9009beedbc64f9ec925caddc0929c.tar.gz
Merge "crasher: hide xom from help when unavailable" into main
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/crasher/crasher.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/debuggerd/crasher/crasher.cpp b/debuggerd/crasher/crasher.cpp
index 3b52776d7..05143ed05 100644
--- a/debuggerd/crasher/crasher.cpp
+++ b/debuggerd/crasher/crasher.cpp
@@ -202,7 +202,9 @@ static int usage() {
fprintf(stderr, " fdsan_file close a file descriptor that's owned by a FILE*\n");
fprintf(stderr, " fdsan_dir close a file descriptor that's owned by a DIR*\n");
fprintf(stderr, " seccomp fail a seccomp check\n");
+#if defined(__LP64__)
fprintf(stderr, " xom read execute-only memory\n");
+#endif
fprintf(stderr, "\n");
fprintf(stderr, " LOG_ALWAYS_FATAL call liblog LOG_ALWAYS_FATAL\n");
fprintf(stderr, " LOG_ALWAYS_FATAL_IF call liblog LOG_ALWAYS_FATAL_IF\n");