Philip Zeyliger has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10404 )

Change subject: Moving default sanitizer options into init.cc from shell 
scripts.
......................................................................


Patch Set 5:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/10404/5/be/src/common/init.cc
File be/src/common/init.cc:

http://gerrit.cloudera.org:8080/#/c/10404/5/be/src/common/init.cc@302
PS5, Line 302: const string UBSAN_DEFAULT_OPTIONS = Substitute(
> A couple of other nits I forgot:
I moved to a static variable inside the function. I think then there's no 
question about the static initialization order stuff, and we're also clearly 
not leaking the name.


http://gerrit.cloudera.org:8080/#/c/10404/5/be/src/common/init.cc@304
PS5, Line 304: ==
> !=
Yep, caught this in further testing. I must have done a round of testing 
without the #if defined(UNDEFINED_SANITIZER) stuff; it turns out that it wasn't 
defined (hence a new CMakeFiles change to define it).


http://gerrit.cloudera.org:8080/#/c/10404/5/be/src/common/init.cc@305
PS5, Line 305: extern "C" const char *__ubsan_default_options() {
> Oh, and actually one other thing - how confident are you that this avoids t
See above.



--
To view, visit http://gerrit.cloudera.org:8080/10404
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3cbbd210c67750a48003f336bea1f3e1cb2d9e6b
Gerrit-Change-Number: 10404
Gerrit-PatchSet: 5
Gerrit-Owner: Philip Zeyliger <phi...@cloudera.com>
Gerrit-Reviewer: Dan Hecht <dhe...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jbapple-imp...@apache.org>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Philip Zeyliger <phi...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>
Gerrit-Comment-Date: Thu, 17 May 2018 22:31:36 +0000
Gerrit-HasComments: Yes

Reply via email to