mirror of
https://github.com/open-goal/jak-project
synced 2026-08-20 14:24:45 -04:00
Add Address Sanitizer support to MSVC and CMake (#182)
* msvc: Add Address Sanitizer https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/ * cmake: Add Address Sanitizer * docs: Update ReadME * see if we can replicate the test failure * windows fixes maybe * cmake: Compile with gcc and clang (only coverage on * hacky try again * clean up * fix clang issues * linting Co-authored-by: water <awaterford111445@gmail.com>
This commit is contained in:
@@ -349,7 +349,7 @@ s32 cvt_float(float x, s32 precision, s32* lead_char, char* buff_start, char* bu
|
||||
value = (char)rounder;
|
||||
} else if (!(ru32 >> 31)) { // sign bit
|
||||
value = 0;
|
||||
assert(false); // not sure what happens here.
|
||||
// assert(false); // not sure what happens here.
|
||||
} else {
|
||||
value = -1; // happens on NaN's
|
||||
}
|
||||
@@ -396,7 +396,7 @@ s32 cvt_float(float x, s32 precision, s32* lead_char, char* buff_start, char* bu
|
||||
value = (char)next_int;
|
||||
} else if (!(ru32 >> 0x1f)) {
|
||||
value = 0;
|
||||
assert(false); // not sure what happens here.
|
||||
// assert(false); // not sure what happens here.
|
||||
} else {
|
||||
value = -1; // happens on NaN's
|
||||
}
|
||||
@@ -1085,4 +1085,4 @@ s32 format_impl(uint64_t* args) {
|
||||
|
||||
assert(false); // ??????
|
||||
return 7;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user