[llvm-commits] [compiler-rt] r163296 - in /compiler-rt/trunk/lib/sanitizer_common: sanitizer_symbolizer.cc sanitizer_symbolizer.h
Alexey Samsonov
samsonov at google.com
Thu Sep 6 01:47:38 PDT 2012
Author: samsonov
Date: Thu Sep 6 03:47:38 2012
New Revision: 163296
URL: http://llvm.org/viewvc/llvm-project?rev=163296&view=rev
Log:
[Sanitizer] remove unused field
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc
compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc?rev=163296&r1=163295&r2=163296&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.cc Thu Sep 6 03:47:38 2012
@@ -27,12 +27,6 @@
LoadedModule::LoadedModule(const char *module_name, uptr base_address) {
full_name_ = internal_strdup(module_name);
- short_name_ = internal_strrchr(module_name, '/');
- if (short_name_ == 0) {
- short_name_ = full_name_;
- } else {
- short_name_++;
- }
base_address_ = base_address;
n_ranges_ = 0;
}
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h?rev=163296&r1=163295&r2=163296&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_symbolizer.h Thu Sep 6 03:47:38 2012
@@ -78,7 +78,6 @@
uptr end;
};
char *full_name_;
- char *short_name_;
uptr base_address_;
static const uptr kMaxNumberOfAddressRanges = 8;
AddressRange ranges_[kMaxNumberOfAddressRanges];
More information about the llvm-commits
mailing list