Impala Public Jenkins has submitted this change and it was merged. Change subject: Add a build flag for the undefined behavior sanitizer, aka "ubsan". ......................................................................
Add a build flag for the undefined behavior sanitizer, aka "ubsan". Ubsan checks for undefined behavior according to the C++ standard. Some of this behavior has been known to be exploited by optimizing compilers to produce bizarre results, like taking both branches of a conditional. This patch only adds build options; fixing the errors ubsan finds, as well as adding any tests that a build is free from ubsan errors, are not covered in this patch. Change-Id: I03044c657ac171daa0648f833bbbeed7bdde49cb Reviewed-on: http://gerrit.cloudera.org:8080/6186 Reviewed-by: Dan Hecht <[email protected]> Tested-by: Impala Public Jenkins --- M CMakeLists.txt M be/CMakeLists.txt M bin/make_impala.sh M bin/run-backend-tests.sh M bin/start-impalad.sh M buildall.sh 6 files changed, 36 insertions(+), 4 deletions(-) Approvals: Impala Public Jenkins: Verified Dan Hecht: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/6186 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I03044c657ac171daa0648f833bbbeed7bdde49cb Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Jim Apple <[email protected]> Gerrit-Reviewer: Dan Hecht <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Jim Apple <[email protected]> Gerrit-Reviewer: Marcel Kornacker <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Reviewer: Zach Amsden <[email protected]>
