Implement __emutls_get_address for targets like Android that depends on libgcc's emulated thread local storage.
clang/llvm can generate calls to __emutls_get_address since
http://reviews.llvm.org/D10522 and http://reviews.llvm.org/D10524
Differential D12001
Implement __emutls_get_address chh on Aug 12 2015, 5:16 PM. Authored by
Details Implement __emutls_get_address for targets like Android that depends on libgcc's emulated thread local storage. clang/llvm can generate calls to __emutls_get_address since
Diff Detail Event Timeline
Comment Actions I think all suggested changes were made.
Comment Actions That's why I said "or so" :) The attribute unused is fine, but your version doesn't work in file scope, which is where I normally would place compile time asserts. Comment Actions Make COMPILER_ASSERT work at also the file scope.
Comment Actions LG with the one comment about the growth function.
|
Just checked with cferris. I don't think this is a default we even want on Android. Sounds like this would maybe be a win for dlmalloc with us, but for jemalloc posix_memalign should be fine. Older devices + N9 are dlmalloc, but he still thinks it's unlikely this is necessary.