[PATCH] D71688: [AArch64] Add -mtls-size option for ELF targets

KAWASHIMA Takahiro via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 20:01:15 PST 2020


kawashima-fj updated this revision to Diff 236748.
kawashima-fj added a comment.

Thanks for a suggestion. I looked around the code and found that the suggested `AArch64TargetMachine` constructor is the best place because other option values are set there. The updated patch moved the maximum value setting code to that constructor.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71688/new/

https://reviews.llvm.org/D71688

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71688.236748.patch
Type: text/x-patch
Size: 24089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200108/69d882b6/attachment-0001.bin>


More information about the llvm-commits mailing list