summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 17:11:36 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-09-04 17:11:36 -0700
commit2ed8ddac2c6c363cc5f6d359ddc89046facc2c65 (patch)
tree84e9da0b5e64275faf2fa7026755c822b8b943bc
parent5a384dca2703a5cfb9198e0554f588897ce9baf8 (diff)
parent6136ec05d911d4a306778dbee9b3a49c47e421d9 (diff)
downloadlibunwind_llvm-2ed8ddac2c6c363cc5f6d359ddc89046facc2c65.tar.gz
Suppress -Wimplicit-fallthrough.
am: 6136ec05d9 Change-Id: I0db4a69c16ac46a84aeafc1aaade569d4dc42070
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index c7e0da8..81dad26 100644
--- a/Android.bp
+++ b/Android.bp
@@ -41,6 +41,8 @@ LIBUNWIND_CPPFLAGS = [
"-std=c++14",
"-fexceptions",
"-Wextra",
+ "-Wno-implicit-fallthrough",
+ // src/Unwind-EHABI.cpp line 97 and 100 have implicit fallthrough.
"-Wno-unused-function",
"-Wno-unused-parameter",
"-Wno-unused-local-typedef",