diff options
author | Felix (Ting Wang) <Ting.Wang.SH@ibm.com> | 2024-05-09 09:50:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 09:50:36 +0800 |
commit | ea126aebdc9d8205016f355d85dbf1c15f2f4b28 (patch) | |
tree | 5154797691410fdae41e70b4d6346c08bcd5fe0e /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 51f178d909d477bd269e0b434af1a7f9373d4e61 (diff) | |
download | llvm-ea126aebdc9d8205016f355d85dbf1c15f2f4b28.zip llvm-ea126aebdc9d8205016f355d85dbf1c15f2f4b28.tar.gz llvm-ea126aebdc9d8205016f355d85dbf1c15f2f4b28.tar.bz2 |
[PowerPC] Tune AIX shared library TLS model at function level (#84132)
Under some circumstance (library loaded with the main program), TLS
initial-exec model can be applied to local-dynamic access(es). We
could use some simple heuristic to decide the update at function level:
* If there is equal or less than a number of TLS local-dynamic access(es)
in the function, use TLS initial-exec model. (the threshold which default to
1 is controlled by hidden option)
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions