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 ↗ | (On Diff #81809) | Does clang-cl not support -g? |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
28 ↗ | (On Diff #81809) | @zturner, Yes, the only compiler in windows for this code is clang. I can use a more explicit flag. |
30 ↗ | (On Diff #81809) | @kcc Ok. I couldn't get that information from the documentation. |
37 ↗ | (On Diff #81809) | Yes, clang-cl doesn't support -g. |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 ↗ | (On Diff #81809) |
Which documentation?
What exactly is not working? (probably let's take it into another thread) |
37 ↗ | (On Diff #81809) | Sad, but ok. |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 ↗ | (On Diff #81809) | @kcc I refer to the Sanitizer Coverage documentation: http://clang.llvm.org/docs/SanitizerCoverage.html |
lib/Fuzzer/test/CMakeLists.txt | ||
---|---|---|
30 ↗ | (On Diff #81809) | 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.