aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2021-06-08 08:57:12 -0700
committerNick Desaulniers <ndesaulniers@google.com>2021-06-08 10:59:46 -0700
commit3787ee457173c3612aac4c9b1a2b6d6ab0202616 (patch)
tree797092b2a5aa7bb39a3ae620b244dad81dc85a62 /llvm/lib/Object/ELFObjectFile.cpp
parentee2a92c29df6d37a4dc5d0f6795f0fe531962b9d (diff)
downloadllvm-3787ee457173c3612aac4c9b1a2b6d6ab0202616.zip
llvm-3787ee457173c3612aac4c9b1a2b6d6ab0202616.tar.gz
llvm-3787ee457173c3612aac4c9b1a2b6d6ab0202616.tar.bz2
reland [IR] make -stack-alignment= into a module attr
Relands commit 433c8d950cb3a1fa0977355ce0367e8c763a3f13 with fixes for MIPS. Similar to D102742, specifying the stack alignment via CodegenOpts means that this flag gets dropped during LTO, unless the command line is re-specified as a plugin opt. Instead, encode this information as a module level attribute so that we don't have to expose this llvm internal flag when linking the Linux kernel with LTO. Looks like external dependencies might need a fix: * https://github.com/llvm-hs/llvm-hs/issues/345 * https://github.com/halide/Halide/issues/6079 Link: https://github.com/ClangBuiltLinux/linux/issues/1377 Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D103048
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions