summaryrefslogtreecommitdiffstats
path: root/debuggerd
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-09-19 20:50:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-09-19 20:50:31 +0000
commit2d4b48d1552423f2b0e314fefbf2b4e93cd63ca5 (patch)
tree1b02a0ca161f37c346a57190917c363cc514e463 /debuggerd
parentcf7d0e85d4cb1ccf2b45a00ec55218c31d7f897f (diff)
parent8d44b14543fad2384c62f4d5805490fe67bc8fdd (diff)
downloadsystem_core-2d4b48d1552423f2b0e314fefbf2b4e93cd63ca5.tar.gz
system_core-2d4b48d1552423f2b0e314fefbf2b4e93cd63ca5.tar.bz2
system_core-2d4b48d1552423f2b0e314fefbf2b4e93cd63ca5.zip
Merge "crash_dump: annotate intended fallthrough."
Diffstat (limited to 'debuggerd')
-rw-r--r--debuggerd/crash_dump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/debuggerd/crash_dump.cpp b/debuggerd/crash_dump.cpp
index 93f757236..577e336b0 100644
--- a/debuggerd/crash_dump.cpp
+++ b/debuggerd/crash_dump.cpp
@@ -34,6 +34,7 @@
#include <android-base/file.h>
#include <android-base/logging.h>
+#include <android-base/macros.h>
#include <android-base/parseint.h>
#include <android-base/properties.h>
#include <android-base/stringprintf.h>
@@ -282,6 +283,7 @@ static void ReadCrashInfo(unique_fd& fd, siginfo_t* siginfo,
switch (crash_info->header.version) {
case 2:
*fdsan_table_address = crash_info->data.v2.fdsan_table_address;
+ FALLTHROUGH_INTENDED;
case 1:
*abort_msg_address = crash_info->data.v1.abort_msg_address;
*siginfo = crash_info->data.v1.siginfo;