[all-commits] [llvm/llvm-project] 10c11e: This option allows selecting the TLS size in the l...

KAWASHIMA Takahiro via All-commits all-commits at lists.llvm.org
Mon Jan 13 02:20:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 10c11e4e2d05cf0e8f8251f50d84ce77eb1e9b8d
      https://github.com/llvm/llvm-project/commit/10c11e4e2d05cf0e8f8251f50d84ce77eb1e9b8d
  Author: KAWASHIMA Takahiro <t-kawashima at fujitsu.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/Driver/tls-size.c
    M llvm/include/llvm/CodeGen/CommandFlags.inc
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
    R llvm/test/CodeGen/AArch64/arm64-tls-execs.ll
    A llvm/test/CodeGen/AArch64/arm64-tls-initial-exec.ll
    A llvm/test/CodeGen/AArch64/arm64-tls-local-exec.ll

  Log Message:
  -----------
  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.

Patch By KAWASHIMA Takahiro (kawashima-fj <t-kawashima at fujitsu.com>)
Reviewers: dmgreen, mstorsjo, t.p.northover, peter.smith, ostannard
Reviewd By: peter.smith
Committed by: peter.smith

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




More information about the All-commits mailing list