diff options
author | ed <ed@FreeBSD.org> | 2011-12-31 19:01:48 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-12-31 19:01:48 +0000 |
commit | 0ece074de9d070fa87b7f58f9e96bce63db862d8 (patch) | |
tree | 21b838383a703c249dd4f0180c8566c40f70e0e3 /contrib/compiler-rt/lib/assembly.h | |
parent | 55bd70ed9a164b6b2d84037c8362ff3725ff294b (diff) | |
parent | 6a5f9bc9ae3205be8bb5570b86a509fcd01a9db6 (diff) | |
download | FreeBSD-src-0ece074de9d070fa87b7f58f9e96bce63db862d8.zip FreeBSD-src-0ece074de9d070fa87b7f58f9e96bce63db862d8.tar.gz |
Upgrade libcompiler_rt to upstream revision 147390.
This version of libcompiler_rt adds support for __mulo[sdt]i4(), which
computes a multiply and its overflow flag. There are also a lot of
cleanup fixes to headers that don't really affect us.
Updating to this revision should make it a bit easier to contribute
changes back to the LLVM developers.
Diffstat (limited to 'contrib/compiler-rt/lib/assembly.h')
-rw-r--r-- | contrib/compiler-rt/lib/assembly.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/contrib/compiler-rt/lib/assembly.h b/contrib/compiler-rt/lib/assembly.h index 0ce83ac..83bed12 100644 --- a/contrib/compiler-rt/lib/assembly.h +++ b/contrib/compiler-rt/lib/assembly.h @@ -35,15 +35,16 @@ #define SYMBOL_NAME(name) GLUE(__USER_LABEL_PREFIX__, name) #ifdef VISIBILITY_HIDDEN -#define DEFINE_COMPILERRT_FUNCTION(name) \ - .globl SYMBOL_NAME(name) SEPARATOR \ - HIDDEN_DIRECTIVE SYMBOL_NAME(name) SEPARATOR \ - SYMBOL_NAME(name): +#define DECLARE_SYMBOL_VISIBILITY(name) \ + HIDDEN_DIRECTIVE SYMBOL_NAME(name) SEPARATOR #else +#define DECLARE_SYMBOL_VISIBILITY(name) +#endif + #define DEFINE_COMPILERRT_FUNCTION(name) \ .globl SYMBOL_NAME(name) SEPARATOR \ + DECLARE_SYMBOL_VISIBILITY(name) \ SYMBOL_NAME(name): -#endif #define DEFINE_COMPILERRT_PRIVATE_FUNCTION(name) \ .globl SYMBOL_NAME(name) SEPARATOR \ |