Unnecessary with -fsanitize-address-use-after-return=never.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Yeah, but all of these would prefer to assume that there is no fake stack.
With =never, there is no fake stack.
- remove UAR=never flag from contiguous_container.cpp.
compiler-rt/test/asan/TestCases/Posix/stack-overflow.cpp | ||
---|---|---|
72–73 | I tried all these and it does not work. Also, I think that passing -1 to recursive_func, is like passing a max INT, and consequently will always be greater than any value returned by __builtin_frame_address. | |
compiler-rt/test/asan/TestCases/contiguous_container.cpp | ||
72 | I don't know why. I thought this looked useless and redundant, as the fake stack is off by default. |
I've updated the summary, usually shorter title of the git commit looks nicer.
compiler-rt/test/asan/TestCases/Posix/stack-overflow.cpp | ||
---|---|---|
72–73 | I've updated the patch. Works this way. | |
compiler-rt/test/asan/TestCases/contiguous_container.cpp | ||
72 | I see |
And you can revert all "// RUN:" lines