[llvm-commits] [compiler-rt] r154111 - in /compiler-rt/trunk/lib/asan: Makefile.old asan_win.cc

Timur Iskhodzhanov timurrrr at google.com
Thu Apr 5 11:31:50 PDT 2012


Author: timurrrr
Date: Thu Apr  5 13:31:50 2012
New Revision: 154111

URL: http://llvm.org/viewvc/llvm-project?rev=154111&view=rev
Log:
[ASan/Win] Fix lint warning

Modified:
    compiler-rt/trunk/lib/asan/Makefile.old
    compiler-rt/trunk/lib/asan/asan_win.cc

Modified: compiler-rt/trunk/lib/asan/Makefile.old
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/Makefile.old?rev=154111&r1=154110&r2=154111&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/Makefile.old (original)
+++ compiler-rt/trunk/lib/asan/Makefile.old Thu Apr  5 13:31:50 2012
@@ -335,10 +335,10 @@
 ADDRESS_SANITIZER_CPP=../../../../lib/Transforms/Instrumentation/AddressSanitizer.cpp
 
 lint:
-	third_party/cpplint/cpplint.py --filter=$(LLVM_LINT_FILTER) $(ADDRESS_SANITIZER_CPP)
-	third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) asan_*.cc asan_*.h
-	third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) interception/interception*.h interception/interception*.cc
-	third_party/cpplint/cpplint.py --filter=$(TEST_LINT_FITLER) tests/*.cc output_tests/*.cc
+	python third_party/cpplint/cpplint.py --filter=$(LLVM_LINT_FILTER) $(ADDRESS_SANITIZER_CPP)
+	python third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) asan_*.cc asan_*.h
+	python third_party/cpplint/cpplint.py --filter=$(RTL_LINT_FITLER) interception/interception*.h interception/interception*.cc
+	python third_party/cpplint/cpplint.py --filter=$(TEST_LINT_FITLER) tests/*.cc output_tests/*.cc
 
 get_third_party:
 	rm -rf third_party

Modified: compiler-rt/trunk/lib/asan/asan_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win.cc?rev=154111&r1=154110&r2=154111&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Thu Apr  5 13:31:50 2012
@@ -241,7 +241,7 @@
   __asm {
     mov eax, a
     mov cx, new_val
-    xchg [eax], cx
+    xchg [eax], cx  ; NOLINT
     mov new_val, cx
   }
   return new_val;





More information about the llvm-commits mailing list