Cherry-pick r322744 and r339797 from upstream LLVM libcxx.

This adds a couple of _LIBCPP_NO_CFI annotations that we need
to silence CFI bad cast errors.

Bug: 870677
Change-Id: Ifabee936c021faf568dd45299cde052db9c739af
Tested-by: Peter Collingbourne <>
Reviewed-by: agrieve <>
2 files changed
tree: e33b2e5a9c5cba7a3ba192f6886b1e9a4b326318
  3. README.chromium
  5. build/
  6. chromium-patches/
  7. codereview.settings
  8. meta/
  9. ndk-build
  10. ndk-depends
  11. ndk-gdb
  12. ndk-stack
  13. ndk-which
  14. platforms/
  15. prebuilt/
  16. python-packages/
  17. shader-tools/
  18. simpleperf/
  20. sources/
  21. sysroot/
  22. toolchains/

Android NDK


NDK documentation, guides, and API reference are available on our website.

NDK code samples are available on GitHub.

Information about Android Studio can be found on the Android Studio website.

Filing Bugs

NDK bugs should be filed on GitHub.

Android Studio and Gradle bugs should be filed in the Android Studio Bug Tracker. For the fastest response, make sure you follow their guide on Filing Bugs.