[compiler-rt] r178290 - Remove all 'static' before ALWAYS_INLINE

Timur Iskhodzhanov timurrrr at google.com
Thu Mar 28 14:16:09 PDT 2013


Author: timurrrr
Date: Thu Mar 28 16:16:09 2013
New Revision: 178290

URL: http://llvm.org/viewvc/llvm-project?rev=178290&view=rev
Log:
Remove all 'static' before ALWAYS_INLINE

Modified:
    compiler-rt/trunk/lib/asan/asan_mac.cc
    compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc

Modified: compiler-rt/trunk/lib/asan/asan_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_mac.cc?rev=178290&r1=178289&r2=178290&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_mac.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_mac.cc Thu Mar 28 16:16:09 2013
@@ -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) {

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc?rev=178290&r1=178289&r2=178290&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Thu Mar 28 16:16:09 2013
@@ -1656,7 +1656,7 @@ TSAN_INTERCEPTOR(int, poll, void *fds, l
   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);





More information about the llvm-commits mailing list