summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-09-04 14:19:27 -0700
committerChih-Hung Hsieh <chh@google.com>2018-09-04 14:27:06 -0700
commit6136ec05d911d4a306778dbee9b3a49c47e421d9 (patch)
tree84e9da0b5e64275faf2fa7026755c822b8b943bc
parent5a384dca2703a5cfb9198e0554f588897ce9baf8 (diff)
downloadlibunwind_llvm-6136ec05d911d4a306778dbee9b3a49c47e421d9.tar.gz
Suppress -Wimplicit-fallthrough.android-o-mr1-iot-release-1.0.4
-Wimplicit-fallthrough will be enabled globally. Test: build with global -Wimplicit-fallthrough. Change-Id: I234ecdd32c9cc8e4b7b8c26e9af7604e66dc3991
-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",