Go to file
Eric Fiselier 4b47cbccd4 Fix incorrectly aligned exceptions in 32 bit builds.
This patch fixes a bug where exceptions in 32 bit builds
would be incorrectly aligned because malloc only provides 8 byte aligned
memory where 16 byte alignment is needed.

This patch makes libc++abi correctly use posix_memalign when it's
available. This requires defining _LIBCPP_BUILDING_LIBRARY so that
libc++ only defines _LIBCPP_HAS_NO_ALIGNED_ALLOCATION when libc doesn't
support it and not when aligned new/delete are disable for other
reasons.

This bug somehow made it into the 7.0 release, making it a regression.
Therefore this patch should be included in the next dot release.

llvm-svn: 342815
2018-09-22 19:22:36 +00:00
clang Fix codemodels.c test case (only test mcmodel=medium on X86). 2018-09-22 18:25:58 +00:00
clang-tools-extra [clangd] Remember to serialize symbol origin in YAML. 2018-09-21 13:04:57 +00:00
compiler-rt SafeStack: Fix flaky test (PR39001) 2018-09-21 19:02:32 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx [libcxx] Blind attempt to fix harmless leak in nodiscard_extensions.pass.cpp test 2018-09-22 19:09:57 +00:00
libcxxabi Fix incorrectly aligned exceptions in 32 bit builds. 2018-09-22 19:22:36 +00:00
libunwind [libunwind][NFC] Suppress unused parameter warnings 2018-09-22 18:18:34 +00:00
lld [COFF] Support linking to import libraries from GNU binutils 2018-09-21 22:01:06 +00:00
lldb Change type of m_user_expression_start_pos to size_t 2018-09-22 13:33:08 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [DAGCombiner] Rewrite r331896 in a different way to address a FIXME. NFCI 2018-09-22 18:03:14 +00:00
openmp [OPENMP][NVPTX] Add support for lastprivates/reductions handling in SPMD constructs with lightweight runtime. 2018-09-21 14:11:41 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly fix the scan-build urls 2018-09-21 09:07:58 +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.