commit | 2592a0614d91fe947cd04fe7e2719d273e3e4880 | [log] [tgz] |
---|---|---|
author | Kostya Serebryany <kcc@google.com> | Thu May 30 11:00:08 2013 +0000 |
committer | Kostya Serebryany <kcc@google.com> | Thu May 30 11:00:08 2013 +0000 |
tree | dfd40a85803d14f615534a3e65be2c32ffaf8f51 | |
parent | 816bdb76f98febeb68456e4b570f2c09f2013451 [diff] |
[asan] workaround for the quemu bug in proc maps (http://code.google.com/p/address-sanitizer/issues/detail?id=160) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@182922 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/sanitizer_common/sanitizer_linux.cc b/lib/sanitizer_common/sanitizer_linux.cc index 6e234e5..bd48c67 100644 --- a/lib/sanitizer_common/sanitizer_linux.cc +++ b/lib/sanitizer_common/sanitizer_linux.cc
@@ -442,7 +442,9 @@ CHECK_EQ(*current_++, ' '); while (IsDecimal(*current_)) current_++; - CHECK_EQ(*current_++, ' '); + // Qemu may lack the trailing space. + // http://code.google.com/p/address-sanitizer/issues/detail?id=160 + // CHECK_EQ(*current_++, ' '); // Skip spaces. while (current_ < next_line && *current_ == ' ') current_++;