[cfe-dev] Bug with address sanitizer?
martin at infinio.com
Mon Apr 8 10:24:55 PDT 2013
It turns out, this doesn't happen with the latest build. Sorry for the
On Mon, Apr 8, 2013 at 9:54 AM, Martin Martin <martin at infinio.com> wrote:
> Hi all,
> The address sanitizer complains about the following code, which looks good
> to me:
> #include <unistd.h>
> int main()
> char buf;
> pwrite(1, &buf, 0, 0);
> Compiled with:
> clang++ -fno-omit-frame-pointer -fno-optimize-sibiling-calls
> -fsanitize=address -ggdb ./pwrite.c
> This is Clang compiled from trunk, many months ago:
> $ clang++ --version
> clang version 3.3 (trunk 172721)
> Target: x86_64-unknown-linux-gnu
> Thread model: posix
> I'll try with current Clang trunk.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev