[llvm-commits] [compiler-rt] r157740 - in /compiler-rt/trunk/lib: asan/asan_internal.h sanitizer_common/mini_libc.cc sanitizer_common/mini_libc.h sanitizer_common/sanitizer_libc.cc sanitizer_common/sanitizer_libc.h tsan/rtl/tsan_rtl.cc
Kostya Serebryany
kcc at google.com
Thu May 31 06:42:53 PDT 2012
Author: kcc
Date: Thu May 31 08:42:53 2012
New Revision: 157740
URL: http://llvm.org/viewvc/llvm-project?rev=157740&view=rev
Log:
[asan,tsan] rename files in sanitizer_common to have a common prefix (sanitizer_).
Added:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc
- copied, changed from r157611, compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h
- copied, changed from r157611, compiler-rt/trunk/lib/sanitizer_common/mini_libc.h
Removed:
compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc
compiler-rt/trunk/lib/sanitizer_common/mini_libc.h
Modified:
compiler-rt/trunk/lib/asan/asan_internal.h
compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc
Modified: compiler-rt/trunk/lib/asan/asan_internal.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_internal.h?rev=157740&r1=157739&r2=157740&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_internal.h (original)
+++ compiler-rt/trunk/lib/asan/asan_internal.h Thu May 31 08:42:53 2012
@@ -14,7 +14,7 @@
#ifndef ASAN_INTERNAL_H
#define ASAN_INTERNAL_H
-#include "sanitizer_common/mini_libc.h"
+#include "sanitizer_common/sanitizer_libc.h"
#if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32)
# error "This operating system is not supported by AddressSanitizer"
Removed: compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc?rev=157739&view=auto
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc (removed)
@@ -1,20 +0,0 @@
-//===-- mini_libc.cc --------------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is shared between AddressSanitizer and ThreadSanitizer
-// run-time libraries. See mini_libc.h for details.
-//===----------------------------------------------------------------------===//
-#include "mini_libc.h"
-
-namespace __sanitizer {
-
-void MiniLibcStub() {
-}
-
-} // namespace __sanitizer
Removed: compiler-rt/trunk/lib/sanitizer_common/mini_libc.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/mini_libc.h?rev=157739&view=auto
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/mini_libc.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/mini_libc.h (removed)
@@ -1,28 +0,0 @@
-//===-- mini_libc.h ---------------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is shared between AddressSanitizer and ThreadSanitizer
-// run-time libraries.
-// These tools can not use some of the libc functions directly because those
-// functions are intercepted. Instead, we implement a tiny subset of libc here.
-//
-// We also define several basic types here to avoid using system headers
-// as the latter complicate portability of this low-level code.
-//===----------------------------------------------------------------------===//
-#ifndef MINILIBC_H
-#define MINILIBC_H
-
-// No code hete yet. Will move more code in the next changes.
-namespace __sanitizer {
-
-void MiniLibcStub();
-
-} // namespace __sanitizer
-
-#endif // MINILIBC_H
Copied: compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc (from r157611, compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc)
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc?p2=compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc&p1=compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc&r1=157611&r2=157740&rev=157740&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/mini_libc.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.cc Thu May 31 08:42:53 2012
@@ -1,4 +1,4 @@
-//===-- mini_libc.cc --------------------------------------------*- C++ -*-===//
+//===-- sanitizer_libc.cc ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -8,9 +8,9 @@
//===----------------------------------------------------------------------===//
//
// This file is shared between AddressSanitizer and ThreadSanitizer
-// run-time libraries. See mini_libc.h for details.
+// run-time libraries. See sanitizer_libc.h for details.
//===----------------------------------------------------------------------===//
-#include "mini_libc.h"
+#include "sanitizer_libc.h"
namespace __sanitizer {
Copied: compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h (from r157611, compiler-rt/trunk/lib/sanitizer_common/mini_libc.h)
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h?p2=compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h&p1=compiler-rt/trunk/lib/sanitizer_common/mini_libc.h&r1=157611&r2=157740&rev=157740&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/mini_libc.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_libc.h Thu May 31 08:42:53 2012
@@ -1,4 +1,4 @@
-//===-- mini_libc.h ---------------------------------------------*- C++ -*-===//
+//===-- sanitizer_libc.h ----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -18,7 +18,7 @@
#ifndef MINILIBC_H
#define MINILIBC_H
-// No code hete yet. Will move more code in the next changes.
+// No code here yet. Will move more code in the next changes.
namespace __sanitizer {
void MiniLibcStub();
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc?rev=157740&r1=157739&r2=157740&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl.cc Thu May 31 08:42:53 2012
@@ -12,7 +12,7 @@
// Main file (entry points) for the TSan run-time.
//===----------------------------------------------------------------------===//
-#include "sanitizer_common/mini_libc.h"
+#include "sanitizer_common/sanitizer_libc.h"
#include "tsan_defs.h"
#include "tsan_platform.h"
#include "tsan_rtl.h"
More information about the llvm-commits
mailing list