summaryrefslogtreecommitdiff
path: root/src/support/safe_integer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Also clean up Visual Studio build warning in wasm::toSInteger32 for ↵Jukka Jylänki2016-03-281-1/+1
| | | | double->int32_t cast.
* Clean up build warning C4244: 'return': conversion from 'double' to ↵Jukka Jylänki2016-03-281-1/+1
| | | | 'uint32_t', possible loss of data in src\support\safe_integer.cpp(40).
* Safe integer: assert before converting double to integer.JF Bastien2016-01-101-0/+5
|
* Add Travis builds with sanitizersJF Bastien2016-01-101-0/+70
This triggers 5 independent build / test runs: - clang, no sanitizer; - clang, UB sanitizer; - clang, address sanitizer (disabled for now); - clang, thread sanitizer (disabled for now); - GCC. Enabling UBSan led to these changes: - Fix a bunch of undefined behavior throughout the code base. - Fix some tests that relied on that undefined behavior. - Make some of the tests easier to debug by printing their command line. - Add ubsan blacklist to work around libstdc++ bug. - Example testcase also needs sanitizer because libsupport.a uses it.