https://github.com/llvm/llvm-project/blob/008c875be85732f72c4df4671167f5be79f449eb/compiler-rt/lib/hwasan/scripts/hwasan_symbolize#L423 On Windows, `os.getcwd()` can return something like "C:\sdk\llvm\...". The string with unescaped backslashes is then fed into `re.sub()`: https://github.com/llvm/llvm-project/blob/008c875be85732f72c4df4671167f5be79f449eb/compiler-rt/lib/hwasan/scripts/hwasan_symbolize#L176 which results in an error: `re.error: bad escape \l at position 31` My workaround: ``` paths_to_cut.append(os.getcwd().replace("\\", "/") + '/') ```