Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Clean up build warning C4244: 'return': conversion from 'double' to ↵ | Jukka Jylänki | 2016-03-28 | 1 | -1/+1 | |
| | | | | | | | | 'uint32_t', possible loss of data in src\support\safe_integer.cpp(40). | |||||
| * | Fix wasm::read_file() to abort if input file is too big to read in when ↵ | Jukka Jylänki | 2016-03-28 | 1 | -2/+7 | |
| | | | | | | | | building a 32-bit executable and size_t is not 64-bit. | |||||
* | | Tighten safe integer | JF Bastien | 2016-03-28 | 1 | -16/+18 | |
| | | | | | | | | #282 removed the assert, but the code didn't handle negative -> unsigned conversion properly, and doesn't behave well with -0.0. I'm not super comfortable with 64-bit int min / max to double conversions either, but that'll be for another patch. | |||||
* | | remove bogus asserts from safe_integer casts | Alon Zakai | 2016-03-28 | 1 | -4/+0 | |
|/ | ||||||
* | make --debug work | Alon Zakai | 2016-03-21 | 1 | -1/+1 | |
| | ||||||
* | Make --debug a boolean | JF Bastien | 2016-03-18 | 2 | -6/+4 | |
| | | | | As discussed in #248. | |||||
* | add Log2 and Pow2 support methods | Alon Zakai | 2016-03-16 | 2 | -0/+27 | |
| | ||||||
* | Move rol/ror to src/support/bits.h | Derek Schuff | 2016-03-09 | 1 | -0/+15 | |
| | ||||||
* | move printing to a pass | Alon Zakai | 2016-02-17 | 1 | -0/+4 | |
| | ||||||
* | De-inline signed wrapper templates for bit manipulation functions | Derek Schuff | 2016-02-03 | 1 | -3/+3 | |
| | | | | This fixes the clang build. | |||||
* | fix gcc 4.8.2 breakage due to 66da1ee9cc70e3848c45745c21a244e54512fa9c | Alon Zakai | 2016-02-03 | 1 | -9/+13 | |
| | ||||||
* | Move bits.h to support/ | JF Bastien | 2016-02-03 | 2 | -0/+168 | |
| | | | | Faster compiles. | |||||
* | Factor out bit_cast. | JF Bastien | 2016-01-28 | 1 | -0/+40 | |
| | ||||||
* | Fix colors on OSX. | Michael | 2016-01-26 | 1 | -1/+1 | |
| | | | | Apple OSes define __APPLE__ instead of the lower case __apple__. | |||||
* | Fix command-line help when there's only long or short | JF Bastien | 2016-01-20 | 1 | -2/+4 | |
| | ||||||
* | Merge pull request #93 from WebAssembly/asm2wasm-use-command-line | Alon Zakai | 2016-01-11 | 4 | -13/+34 | |
|\ | | | | | asm2wasm: use support's command-line | |||||
| * | asm2wasm: use support's command-line | JF Bastien | 2016-01-11 | 4 | -13/+34 | |
| | | ||||||
* | | Safe integer: assert before converting double to integer. | JF Bastien | 2016-01-10 | 1 | -0/+5 | |
| | | ||||||
* | | Add Travis builds with sanitizers | JF Bastien | 2016-01-10 | 2 | -0/+104 | |
|/ | | | | | | | | | | | | | | | | 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. | |||||
* | Merge pull request #64 from WebAssembly/color-disable | Alon Zakai | 2016-01-04 | 2 | -4/+9 | |
|\ | | | | | Disable colors when outputting to a file | |||||
| * | Disable colors when outputting to a file | JF Bastien | 2016-01-04 | 2 | -4/+9 | |
| | | | | | | | | This will allow other tools to consume the output. | |||||
* | | Move file input / output to support. | JF Bastien | 2016-01-04 | 2 | -0/+102 | |
|/ | ||||||
* | Fix off-by-one in option parsing with '='. | JF Bastien | 2016-01-04 | 1 | -1/+1 | |
| | ||||||
* | Add curlies. | JF Bastien | 2016-01-04 | 1 | -2/+4 | |
| | ||||||
* | Generalize command-line parsing more. | JF Bastien | 2016-01-02 | 2 | -48/+148 | |
| | | | | This should allow other programs to use the same command-line support. | |||||
* | Merge pull request #55 from WebAssembly/support-command-line | Alon Zakai | 2015-12-30 | 2 | -0/+108 | |
|\ | | | | | Start moving command-line processing to libsupport.a | |||||
| * | Add a help to avoid out-of-bounds. | JF Bastien | 2015-12-29 | 1 | -1/+4 | |
| | | ||||||
| * | Fix include guards. | JF Bastien | 2015-12-29 | 1 | -3/+3 | |
| | | ||||||
| * | Start moving command-line processing to libsupport.a | JF Bastien | 2015-12-29 | 2 | -0/+105 | |
| | | | | | | | | This only moves things, no functional change yet. | |||||
* | | Fix include guards | JF Bastien | 2015-12-29 | 1 | -3/+3 | |
|/ | ||||||
* | Add a support static library | JF Bastien | 2015-12-24 | 2 | -0/+72 | |
For now I've only moved the color check (and made it check the environment only once, note function local static initialization is thread-safe in C++11). This will make the builds slightly faster and allow us to move platform-specific code out of header files (reducing the amount of #include gunk). I'll eventually move other parts of the code to support, especially the command-line parsing (once it's reusable). |