When targeting MSVC: compile using clang's cl driver mode (this is needed for
libfuzzer's exit_on_src_pos feature). Don't use -lstdc++ when linking,
it isn't needed and causes a warning.
On Windows: Fix exit_on_src_pos.test by making sure debug info isn't
overwritten during compilation of second binary by using .exe extension.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
Event Timeline
Comment Actions
Matt, please take a look when you get a chance (no rush).
I suspect this is the last exe related problem, but there may be others that have this problem combined with another (like exit_on_src.pos did).
Also, do you know if there is a way to conditionally add a compile flag to a particular compile command in a lit file? If I ever need to add a windows only flag to just one command, I'm not sure what I would need to do (maybe a separate lit file? or I can define an expansion?).
By the way, I can commit this one myself (hooray!)
compiler-rt/test/fuzzer/exit_on_src_pos.test | ||
---|---|---|
9 ↗ | (On Diff #164304) | I'm not sure why this line has so much whitespace, do you think I should get rid of it. |