[llvm-bugs] [Bug 15823] Address sanitizer interacts badly with -Wl, --as-needed on linux
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 19 10:50:24 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=15823
H.J. Lu <hjl.tools at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |hjl.tools at gmail.com
Resolution|FIXED |---
--- Comment #10 from H.J. Lu <hjl.tools at gmail.com> ---
(In reply to comment #9)
> I've implemented Alexander's suggestion in r215940.
> $ cat clock_gettime.c
> #include <stdio.h>
> #include <time.h>
>
> int main() {
> struct timespec ts;
> clock_gettime(CLOCK_REALTIME, &ts);
> return 0;
> }
> $ ./bin/clang -fsanitize=address -Wl,-as-needed clock_gettime.c && ./a.out
>
> Please reopen this bug if you still see errors.
r215940 caused:
https://llvm.org/bugs/show_bug.cgi?id=24503
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150819/337e10d1/attachment.html>
More information about the llvm-bugs
mailing list