llvm with tablegen backend for capstone disassembler
Go to file
George Burgess IV 8856aa9a54 Call the correct @llvm.objectsize.
The following code would crash clang:

void foo(unsigned *const __attribute__((pass_object_size(0))));
void bar(unsigned *i) { foo(i); }

This is because we were always selecting the version of
`@llvm.objectsize` that takes an i8* in CodeGen. Passing an i32* as an
i8* makes LLVM very unhappy.

(Yes, I'm surprised that this remained uncaught for so long, too. :) )

As an added bonus, we'll now also use the appropriate address space when
emitting @llvm.objectsize calls.

llvm-svn: 295805
2017-02-22 02:35:51 +00:00
clang Call the correct @llvm.objectsize. 2017-02-22 02:35:51 +00:00
clang-tools-extra [clang-tidy] Reword the "code outside header guard" warning. 2017-02-21 11:25:45 +00:00
compiler-rt Re-commit of r295318, which was reverted due to AArch64 flakiness. Moving the test to Darwin only. 2017-02-22 01:13:34 +00:00
debuginfo-tests
libclc Move BufferPtr into the block where it it being used 2017-02-12 21:33:49 +00:00
libcxx Revert "threading_support: make __thread_sleep_for be alertable" 2017-02-18 19:28:43 +00:00
libcxxabi [CMake][libcxxabi] Update the libc++ test module path 2017-02-18 04:37:59 +00:00
libunwind [libunwind][CMake] Use libc++ headers when available 2017-02-16 05:18:08 +00:00
lld Attempt to placate MSVC buildbot. 2017-02-22 00:32:56 +00:00
lldb Mark TestDarwinLogBasic.py as an xfail because the logging is 2017-02-22 02:10:00 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [WebAssembly] Add skeleton MC support for the Wasm container format 2017-02-22 01:23:18 +00:00
openmp [stats] add stats-gathering for static_steal scheduling method 2017-02-17 17:06:16 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DependenceInfo] Simplify creation and subsequent use of AccessSchedule [NFC] 2017-02-21 15:38:31 +00:00