Home
last modified time | relevance | path

Searched refs:StripPathPrefix (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_printer.cpp151 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 Dsanitizer_common.cpp67 const char *StripPathPrefix(const char *filepath, in StripPathPrefix() function
H A Dsanitizer_common.h263 const char *StripPathPrefix(const char *filepath,
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_common_test.cpp346 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 Dtsan_report.cpp395 StripPathPrefix(info.file, common_flags()->strip_path_prefix), in PrintStack()