Displaying 4 results from an estimated 4 matches for "sanitizer_internal_defs".
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...y name lookup is '__sanitizer::memory_order::memory_order_relaxed'
memory_order_relaxed = 1 << 0,
^
The problem is due to the combination of the following:
1. The runtime includes the system headers after the project headers (as per LLVM coding guidelines).
2. lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of everything defined after it, which is all/most of the sanitizer .h and .cc files and the included system headers with:
using namespace __sanitizer; // NOLINT
3. These are the definitions that conflict in this particular case, but this problem could reoccur in the f...
2016 Jul 01
2
How to resolve conflicts between sanitizer_common and system headers
...#39;
>> memory_order_relaxed = 1 << 0,
>> ^
>>
>>
>> The problem is due to the combination of the following:
>> 1. The runtime includes the system headers after the project headers (as
>> per LLVM coding guidelines).
>> 2. lib/sanitizer_common/sanitizer_internal_defs.h pollutes the namespace of
>> everything defined after it, which is all/most of the sanitizer .h and .cc
>> files and the included system headers with:
>> using namespace __sanitizer; // NOLINT
>> 3. These are the definitions that conflict in this particular case, but
&...
2013 May 17
2
[LLVMdev] linux build fix
Hello,
I tried to compile revision 182096 of compile-rt on linux. An include missied. I attached the patch and changelog.
by:
Antal Tatrai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changelog
Type: application/octet-stream
Size: 53 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130517/c743da76/attachment.obj>
2013 May 17
0
[LLVMdev] linux build fix
...its_posix.cc
> ===================================================================
> --- lib/sanitizer_common/sanitizer_platform_limits_posix.cc (revision 182096)
> +++ lib/sanitizer_common/sanitizer_platform_limits_posix.cc (working copy)
> @@ -18,6 +18,7 @@
>
> #include "sanitizer_internal_defs.h"
> #include "sanitizer_platform_limits_posix.h"
> +#include "sanitizer_platform_limits_posix.h"
This patch duplicates the previous #include.
Apart from that, the most correct place for submitting patches is either
the llvm-commits mailing list or the bug database...