| Issue |
107763
|
| Summary |
[Clang] safestack is not supported by -fno-sanitize
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
RealShadowFury
|
I was advised to report this as a bug by the folks on the Gentoo forums(if it isn't, then i apologize):
safestack, once enabled by passing -fsanitize=safestack, can't be then disabled by passing -fno-sanitize=safestack, like many of the other sanitize options. instead, it returns
> "clang: error: unsupported argument 'safestack' to option '-fno-sanitize='".
this makes the feature to use within gentoo's package management system, and seems generally like an odd thing. this was tested using the following commands:
> clang -m32 -fsanitize=safe-stack -fno-sanitize=safestack -x c -o test - <<<"int main(void) { return 0; }"
> clang -fno-sanitize=safe-stack
clang was, in both cases, installed from the gentoo package manager.
if this is intended, it may be worth documenting.
Hope this information helps.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs