Searched refs:StripPathPrefix (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace_printer.cpp | 151 buffer->append("%s", StripPathPrefix(info->module, strip_path_prefix)); in RenderFrame() 169 buffer->append("%s", StripPathPrefix(info->file, strip_path_prefix)); in RenderFrame() 263 buffer->append("%s", StripPathPrefix(DI->file, strip_path_prefix)); in RenderData() 285 buffer->append("%s(%d", StripPathPrefix(file, strip_path_prefix), line); in RenderSourceLocation() 292 buffer->append("%s", StripPathPrefix(file, strip_path_prefix)); in RenderSourceLocation() 303 buffer->append("(%s", StripPathPrefix(module, strip_path_prefix)); in RenderModuleLocation()
|
| H A D | sanitizer_common.cpp | 67 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
|
| H A D | sanitizer_common.h | 263 const char *StripPathPrefix(const char *filepath,
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_common_test.cpp | 346 TEST(SanitizerCommon, StripPathPrefix) { in TEST() argument 347 EXPECT_EQ(0, StripPathPrefix(0, "prefix")); in TEST() 348 EXPECT_STREQ("foo", StripPathPrefix("foo", 0)); in TEST() 350 StripPathPrefix("/usr/lib/dir/file.cc", "/usr/lib/")); in TEST() 351 EXPECT_STREQ("/file.cc", StripPathPrefix("/usr/myroot/file.cc", "/myroot")); in TEST() 352 EXPECT_STREQ("file.h", StripPathPrefix("/usr/lib/./file.h", "/usr/lib/")); in TEST()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_report.cpp | 395 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()
|