commit | 2c90786ce80f65482afb5e7ab1f0ddfba5d68f02 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Thu Jul 20 13:04:19 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Nov 17 10:08:29 2017 -0800 |
tree | b43627258672f34dcd19f4c309ee84d034389a88 | |
parent | 0aeb1ac396afdb719b30db9616be10b0ad02551c [diff] |
ANDROID: fix -Wdelete-non-virtual-dtor warnings Partial backport of JDK-8182657 with additional fixes. Clang 5.0 emits a ud2 instruction to deliberately SIGILL when deleting a pointer to an abstract class with a non virtual destructor. Based on I67b7ebdb9c4b7c6acc3139042d972f56732bd25c with more fixes to allow enabling -Werror=delete-non-virtual-dtor. Bug: 69449598 Test: m -j on mac with prebuilts built with clang 5.0 Change-Id: I22c12bca1fb19e03017c69040958b60b2d64ee4f