Go to file
Eli Friedman 0b61d220c9 [AArch64][Windows] Compute function length correctly in unwind tables.
The primary fix here is to WinException.cpp: we need to exclude jump
tables when computing the length of a function, or else we fail to
correctly compute the length. (We can only compute the number of bytes
consumed by certain assembler directives after the entire file is
parsed. ".p2align" is one of those directives, and is used by jump table
generation.)

The secondary fix, to MCWin64EH, is to make sure we don't silently
miscompile if we hit a similar situation in the future.

It's possible we could extend ARM64EmitUnwindInfo so it allows function
bodies that contain assembler directives, but that's a lot more
complicated; see the FIXME in MCWin64EH.cpp.

Fixes https://bugs.llvm.org/show_bug.cgi?id=41581 .

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

llvm-svn: 359849
2019-05-03 00:10:45 +00:00
clang Fix -Wunsequenced false-positives in code controlled by a branch on 2019-05-02 23:21:28 +00:00
clang-tools-extra [clangd][xpc] Cannonicalize value of CLANGD_BUILD_XPC before caching 2019-05-02 20:32:56 +00:00
compiler-rt Fix check-builtins on Windows after alias changes 2019-05-02 22:11:55 +00:00
debuginfo-tests
libclc travis: Add LLVM-8 build 2019-03-27 21:28:31 +00:00
libcxx [libc++][test] Remove non-portable assumption that thread's constructor allocates with ::new 2019-05-02 21:19:41 +00:00
libcxxabi [gn] Support for building libcxxabi 2019-05-02 17:29:39 +00:00
libunwind [gn] Support for building libunwind 2019-05-02 17:29:37 +00:00
lld lld-link: Add /force:multipleres extension to make dupe resource diag non-fatal 2019-05-02 21:21:55 +00:00
lldb [Reproducers] Improve reproducer help 2019-05-03 00:10:31 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm [AArch64][Windows] Compute function length correctly in unwind tables. 2019-05-03 00:10:45 +00:00
openmp [OPENMP][NVPTX]Improve code by using parallel level counter. 2019-05-02 20:05:01 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Apply include-what-you-use #include removal suggestions. NFC. 2019-03-28 20:19:49 +00:00
pstl [pstl] Make the default backend be the serial backend and always provide parallel policies 2019-04-24 20:12:36 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Add a reduced copy of the llvm .gitignore 2019-04-09 00:52:49 +00:00
README.md

README.md

The LLVM Compiler Infrastructure

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