[PATCH] D71688: [AArch64] Add -mtls-size option for ELF targets
KAWASHIMA Takahiro via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 18 22:24:16 PST 2019
kawashima-fj created this revision.
kawashima-fj added reviewers: dmgreen, mstorsjo, t.p.northover.
kawashima-fj added projects: LLVM, clang.
Herald added subscribers: llvm-commits, kristof.beyls.
This option allows selecting the TLS size in the local exec TLS model,
which is the default TLS model for non-PIC objects. This allows large/
many thread local variables or a compact/fast code in an executable.
Specification is same as that of GCC. For example, the code model
option precedes the TLS size option.
TLS access models other than local-exec are not changed. It means
supoort of the large code model is only in the local exec TLS model.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71688
Files:
include/clang/Basic/CodeGenOptions.def
include/clang/Driver/Options.td
include/llvm/CodeGen/CommandFlags.inc
include/llvm/Target/TargetOptions.h
lib/CodeGen/BackendUtil.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
llvm/test/CodeGen/AArch64/arm64-tls-initial-exec.ll
test/CodeGen/AArch64/arm64-tls-local-exec.ll
test/Driver/tls-size.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71688.234658.patch
Type: text/x-patch
Size: 23442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191219/3d344a2b/attachment.bin>
More information about the llvm-commits
mailing list