summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDisassembler/Disassembler.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-07-26 23:44:22 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-07-26 23:44:22 +0000
commitb72a2fdd722af7f56d4811ea403cf04521d71f35 (patch)
tree0d2953afe73d5549d7918db1cff66a68d8015a91 /llvm/lib/MC/MCDisassembler/Disassembler.h
parent24c68b26d8f3d87b0faa93c867d79f9f7ff1226b (diff)
downloadbcm5719-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/lib/MC/MCDisassembler/Disassembler.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud