diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-26 23:44:22 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-07-26 23:44:22 +0000 |
| commit | b72a2fdd722af7f56d4811ea403cf04521d71f35 (patch) | |
| tree | 0d2953afe73d5549d7918db1cff66a68d8015a91 /llvm/test | |
| parent | 24c68b26d8f3d87b0faa93c867d79f9f7ff1226b (diff) | |
| download | bcm5719-llvm-b72a2fdd722af7f56d4811ea403cf04521d71f35.tar.gz bcm5719-llvm-b72a2fdd722af7f56d4811ea403cf04521d71f35.zip | |
builtins: avoid multiple definitions of symbols
The architecture specific implementation of routines would be built and included
along with the generic implementation. This would result in multiple
definitions of those symbols.
The linker is free to select either of the two. Most of the time, this
shouldn't be too terrible as the forward iteration should catch the architecture
version due to the ordering. Rather than relying on the linker and build
infrastructure ordering things in a specific manner, only provide the
architecture version when available.
This reduces the size of compiler-rt, simplifies inspection of the library
implementations, and guarantees that the desired version is selected at a
slightly complex build system.
llvm-svn: 214040
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

