Chromium Code Reviews
DescriptionAdd UBSAN build option and fix undefined behaviour errors.
1. The assembler tried to write to unaligned addresses but memcpy fixes this.
2. The InstKind and OperandKind enums allowed target specific kinds that did not
fall in the defined range. Defining the maximum target kind in the enum sorts
this problem.
BUG=
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=6ef7949448bbe3fdb1a0cf3dcbd32fd46c4baf9d
Patch Set 1 #Patch Set 2 : Neater way to set Target_Max #
Total comments: 11
Patch Set 3 : #
Total comments: 2
Patch Set 4 : Remove x-macros #
Total comments: 1
Patch Set 5 : Fix after native_client pull #
Messages
Total messages: 9 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||