Go to file
Kostya Kortchinsky e64a81475c [scudo] Get rid of builtin-declaration-mismatch warnings
Summary:
The C interceptors were using `SIZE_T` defined in the interception library as
a `__sanitizer::uptr`. On some 32-bit platforms, this lead to the following
warning:
```
warning: declaration of ‘void* malloc(SIZE_T)’ conflicts with built-in declaration ‘void* malloc(unsigned int)’ [-Wbuiltin-declaration-mismatch]
INTERCEPTOR_ATTRIBUTE void *malloc(SIZE_T size) {
```
`__sanitizer::uptr` is indeed defined as an `unsigned long` on those.

So just include `stddef.h` and use `size_t` instead.

Reviewers: alekseyshl

Reviewed By: alekseyshl

Subscribers: delcypher, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D48885

llvm-svn: 336221
2018-07-03 19:03:46 +00:00
clang Fix crash in clang. 2018-07-03 18:12:39 +00:00
clang-tools-extra [clangd] Use default format style and fallback style. NFC 2018-07-03 14:51:23 +00:00
compiler-rt [scudo] Get rid of builtin-declaration-mismatch warnings 2018-07-03 19:03:46 +00:00
debuginfo-tests [debuginfo-tests] Always use the system python to invoke llgdb.py. 2018-06-10 19:38:26 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx [libc++] Install the missing header __errc 2018-07-03 04:01:44 +00:00
libcxxabi Revert r336159, r336157. Some bots failed on qualified std::max_align_t, and other on unqualified max_align_t. 2018-07-03 01:30:53 +00:00
libunwind Introduce a separate preprocessor macro, _LIBUNWIND_USE_DLADDR, for directly controlling a dependency on dladdr(). This will allow us to use libunwind without adding a libdl dependency. 2018-06-29 20:41:50 +00:00
lld [ELF][MIPS] Use llvm-mc to generate test case input file. NFC 2018-07-03 14:39:27 +00:00
lldb Fix MSVC2015 compilation failure after r336206 patch. 2018-07-03 16:07:30 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [InstCombine] add tests for shuffle+binop with constant op1; NFC 2018-07-03 18:43:46 +00:00
openmp [OMPT] Use alloca() to force availability of frame pointer 2018-07-02 09:13:38 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Fix for r336080: Missing colon in REQUIRES line 2018-07-02 08:36:49 +00:00
README.md

README.md

Low Level Virtual Machine (LLVM)

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.