impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hecht (Code Review)" <>
Subject [Impala-ASF-CR] Add a build flag for the undefined behavior sanitizer, aka "ubsan".
Date Thu, 26 Jan 2017 17:57:34 GMT
Dan Hecht has posted comments on this change.

Change subject: Add a build flag for the undefined behavior sanitizer, aka "ubsan".

Patch Set 4:

(1 comment)

 > Just a few minor things from my point of view.
 > It seems like there was some discussion around the best way to do
 > the casts (i.e. whether to just use the builtin cast operators). I
 > think the current approach works nicer inside templated functions
 > because there's less boilerplate like make_unsigned.

The discussion was around using lambdas to deal with the operations where the input and output
needs to be casted, not whether cast operator itself is wrapped. I'm good with wrapping the
cast and typedef. 

Will take a look shortly.
File be/src/exec/

Line 434:     if (mem_tracker_ != nullptr) {
can mem_tracker_ actually be null here?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I88c7234bd7c5eb7404490a0913d90470c10835e7
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Jim Apple <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Jim Apple <>
Gerrit-Reviewer: Marcel Kornacker <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message