diff options
| author | 2017-06-30 19:03:36 -0700 | |
|---|---|---|
| committer | 2017-08-15 13:18:11 -0700 | |
| commit | f5b9b95f015b4dcef7697649334030e180126b72 (patch) | |
| tree | d0e53f794f241f73e9ed76181ff6b225838f30c6 /python/python.go | |
| parent | ba090d16c2c92f4711860f0a56752a917f8daad0 (diff) | |
Work around LLVM bug where TLS not emulated in LTO mode
In LTO mode the backend constructs a target exclusively from command line flags,
without opportunity to accept code gen arguments from Clang. Clang does not
currently pass the -emulated-tls parameter for Android, even though it defaults
to emulated TLS for Android in non-LTO builds. Until this is fixed upstream, we
can explicitly specify that the LTO output for Android should use emulated TLS.
Test: build libandroid with LTO, verified that it uses __emutls_get_address
rather than __tls_get_addr.
Change-Id: I18acac41aac885fc6635fbd55f96ba7c845eb5e7
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions