You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Include stddef.h where size_t is needed
* Fix io redirection issues for windows
* Add more null checks to extractBaseType
This should resolve tests failing on windows due to null type location
* Add `#include <cctype>` to a file that uses `std::tolower`.
Hope this fixes a Windows build failure reported by Mandeep.
* Add null check to getSourceRange
This avoids an assertion fail on some windows header files.
* Change IO redirections to work on windows
* Disable 3C extstructfields test on Windows again.
Windows doesn't have sigaction, and we couldn't find a reasonable
alternative.
* Add -base-dir to 3c commands in *rewrite_header tests.
This is the same workaround used in many other tests for a
Windows-specific problem where 3C thinks it isn't allowed to write a
file because (1) it isn't under the base dir (which defaults to
something under the build directory) and (2) the backslash in the
canonicalized file path doesn't match the hard-coded forward slash in
the RUN command. We should probably fix this silly problem a better
way, but first we may as well apply the workaround we already have.
While I'm here, replace --output-postfix with -output-postfix for
consistency with the other tests.
* rewrite_header.c: Remove %S\ from replacement of sed substitution.
`#include "rewrite_header.checked.h"` will work just fine to include a
file in the same directory, and %S caused a problem on Windows when it
expanded to a file path including "\3C" and the \3 was interpreted as a
regular expression backreference.
* rewrite_header: Avoid `sed -i`.
The GnuWin32 `sed -i` has a bug where it leaves its temporary file
behind, and there's no known solution other than to not use it.
* Fix root_cause.c test for windows
A conditional in Constraints.cpp checked if the first character of a
file path was "/" to determine if the path was absolute, but on windows,
an absolute path will start with "C:\".
Co-authored-by: Matt McCutchen (Correct Computation) <[email protected]>
0 commit comments