diff options
| author | Josh Gao <jmgao@google.com> | 2018-09-18 13:22:22 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2018-09-18 13:22:22 -0700 |
| commit | 8d44b14543fad2384c62f4d5805490fe67bc8fdd (patch) | |
| tree | 8220933c1600fa3517a941fb472213ab514a90b9 /debuggerd | |
| parent | 96d445d846ded483b4b8d21f9dcae8848862e74a (diff) | |
| download | system_core-8d44b14543fad2384c62f4d5805490fe67bc8fdd.tar.gz system_core-8d44b14543fad2384c62f4d5805490fe67bc8fdd.tar.bz2 system_core-8d44b14543fad2384c62f4d5805490fe67bc8fdd.zip | |
crash_dump: annotate intended fallthrough.
Bug: http://b/116020901
Test: treehugger
Change-Id: I5d059d051fb257efe7f7e1790fd0bc2abd364167
Diffstat (limited to 'debuggerd')
| -rw-r--r-- | debuggerd/crash_dump.cpp | 2 |
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; |
