[compiler-rt] r192686 - tsan: implement internal syscall-based versions of sigaction/sigprocmask
Dmitry Vyukov
dvyukov at google.com
Tue Oct 15 06:02:17 PDT 2013
On Tue, Oct 15, 2013 at 4:33 PM, Robert Lytton <robert at xmos.com> wrote:
> Hi Dmitry,
>
> I'm failing to build due to:
>
> In file included from /home/robert/sandbox/tools_llvm-3.3/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:36:
> /home/robert/sandbox/tools_llvm-3.3/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.h:23:24: error: typedef redefinition with different types ('struct siginfo' vs 'struct siginfo_t')
> typedef struct siginfo siginfo_t;
> ^
> /usr/include/x86_64-linux-gnu/bits/siginfo.h:127:5: note: previous definition is here
> } siginfo_t __SI_ALIGNMENT;
> ^
> 1 error generated.
Please try on r192695.
> Robert
>
> Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.h
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.h?rev=192686&r1=192685&r2=192686&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.h (original)
> +++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.h Tue Oct 15 06:31:51 2013
> @@ -20,17 +20,39 @@
>
> struct link_map; // Opaque type returned by dlopen().
> struct sigaltstack;
> +typedef struct siginfo siginfo_t;
More information about the llvm-commits
mailing list