Files
build_soong/cc
Stephen Crane f5b9b95f01 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
2017-08-15 13:18:11 -07:00
..
2017-08-15 12:54:12 -07:00
2017-06-30 21:08:36 +00:00
2017-08-15 12:54:12 -07:00
2017-05-09 13:44:49 -07:00
2017-08-14 11:46:42 +09:00
2017-06-30 21:08:36 +00:00
2017-05-10 11:04:16 -07:00
2017-06-30 21:08:36 +00:00
2017-06-30 21:08:36 +00:00
2017-06-30 21:08:36 +00:00
2016-08-01 14:36:22 -07:00
2017-05-10 11:04:16 -07:00
2017-07-20 16:59:26 -07:00
2016-07-29 15:17:58 -07:00
2017-06-30 21:08:36 +00:00