summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2013-11-15 07:18:15 +0000
committerBob Wilson <bob.wilson@apple.com>2013-11-15 07:18:15 +0000
commita08e9ac927cefdaaf7393db755320de214de9671 (patch)
treeab3b084bca13962d0dd1bf576153c12983e91a70 /compiler-rt/lib/tsan
parentda4147c743f8e8c125e2c73cf8565a151efa0814 (diff)
downloadbcm5719-llvm-a08e9ac927cefdaaf7393db755320de214de9671.tar.gz
bcm5719-llvm-a08e9ac927cefdaaf7393db755320de214de9671.zip
Reapply asan coverage changes 194702-194704.
I still don't know what is causing our bootstrapped LTO buildbots to fail, but llvm r194701 seems to be OK and I can't imagine that these changes could cause the problem. llvm-svn: 194790
Diffstat (limited to 'compiler-rt/lib/tsan')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_symbolize.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_symbolize.cc b/compiler-rt/lib/tsan/rtl/tsan_symbolize.cc
index 24c747227ed..75acf1d8438 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_symbolize.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_symbolize.cc
@@ -42,18 +42,6 @@ ReportStack *NewReportStackEntry(uptr addr) {
return ent;
}
-// Strip module path to make output shorter.
-static char *StripModuleName(const char *module) {
- if (module == 0)
- return 0;
- const char *short_module_name = internal_strrchr(module, '/');
- if (short_module_name)
- short_module_name += 1;
- else
- short_module_name = module;
- return internal_strdup(short_module_name);
-}
-
static ReportStack *NewReportStackEntry(const AddressInfo &info) {
ReportStack *ent = NewReportStackEntry(info.address);
ent->module = StripModuleName(info.module);
OpenPOWER on IntegriCloud