[all-commits] [llvm/llvm-project] 3bb24b: Fix tests on Windows after D49466

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Nov 26 16:16:08 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bb24bf25767ef5bbcef958b484e7a06d8689204
      https://github.com/llvm/llvm-project/commit/3bb24bf25767ef5bbcef958b484e7a06d8689204
  Author: Fangrui Song <maskray at google.com>
  Date:   2019-11-26 (Tue, 26 Nov 2019)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/Lex/PPMacroExpansion.cpp
    M clang/test/CodeGen/debug-prefix-map.c

  Log Message:
  -----------
  Fix tests on Windows after D49466

It is tricky to use replace_path_prefix correctly on Windows which uses
backslashes as native path separators. Switch back to the old approach
(startswith is not ideal) to appease build bots for now.




More information about the All-commits mailing list