summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-03-28 21:16:09 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-03-28 21:16:09 +0000
commit07d06d7cf51b49edb05638a78c74d8f27f0d0b0f (patch)
tree53121ad02ce5bfe0ab4c91476b396a65f443df2d /compiler-rt
parentd38b8352307ced953991296914ca53c41195e6fc (diff)
downloadbcm5719-llvm-07d06d7cf51b49edb05638a78c74d8f27f0d0b0f.tar.gz
bcm5719-llvm-07d06d7cf51b49edb05638a78c74d8f27f0d0b0f.zip
Remove all 'static' before ALWAYS_INLINE
llvm-svn: 178290
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/asan/asan_mac.cc2
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_interceptors.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_mac.cc b/compiler-rt/lib/asan/asan_mac.cc
index eb1ca93ecea..3726950d077 100644
--- a/compiler-rt/lib/asan/asan_mac.cc
+++ b/compiler-rt/lib/asan/asan_mac.cc
@@ -288,7 +288,7 @@ typedef struct {
u32 parent_tid;
} asan_block_context_t;
-static ALWAYS_INLINE
+ALWAYS_INLINE
void asan_register_worker_thread(int parent_tid, StackTrace *stack) {
AsanThread *t = GetCurrentThread();
if (!t) {
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
index 240005e3960..c2438f66c81 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
@@ -1656,7 +1656,7 @@ TSAN_INTERCEPTOR(int, poll, void *fds, long_t nfds, int timeout) {
return res;
}
-static void ALWAYS_INLINE rtl_generic_sighandler(bool sigact, int sig,
+void ALWAYS_INLINE rtl_generic_sighandler(bool sigact, int sig,
my_siginfo_t *info, void *ctx) {
ThreadState *thr = cur_thread();
SignalContext *sctx = SigCtx(thr);
OpenPOWER on IntegriCloud