Replace "-g" by "-gline-tables-only". "-g" is not supported by clang-cl.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
37 | Does clang-cl not support -g? |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
28–34 | @zturner, Yes, the only compiler in windows for this code is clang. I can use a more explicit flag. | |
30 | @kcc Ok. I couldn't get that information from the documentation. | |
37 | Yes, clang-cl doesn't support -g. |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 |
Which documentation?
What exactly is not working? (probably let's take it into another thread) | |
37 | Sad, but ok. |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 | @kcc I refer to the Sanitizer Coverage documentation: http://clang.llvm.org/docs/SanitizerCoverage.html |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 | Yep, because non of it is supported on windows (in terms of 'my team supporting them n windows'). Anyway, libFuzzer will soon stop supporting anything but the options being used currently. |
please
a) update the change description.
b) find an analog for -g that works for both versions.
btw, we really only need -gmlt (= -gline-tables-only), so check if those work.
Nope. =edge should not be used any more with libFuzzer.
I am going to delete the libFuzzer code that supports it pretty soon.
What's wrong with trace-pc-guard,trace-cmp on windows?