[all-commits] [llvm/llvm-project] fe19ae: normalize file path when searching the source map

Xu Jun via All-commits all-commits at lists.llvm.org
Mon Nov 1 22:14:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe19ae352ce201e7bab8baac4587cc4334e742e4
      https://github.com/llvm/llvm-project/commit/fe19ae352ce201e7bab8baac4587cc4334e742e4
  Author: Xu Jun <jun1.xu at intel.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    M lldb/source/Target/PathMappingList.cpp
    M lldb/unittests/Target/CMakeLists.txt
    A lldb/unittests/Target/FindFileTest.cpp

  Log Message:
  -----------
  normalize file path when searching the source map

The key stored in the source map is a normalized path string with host's
path style, so it is also necessary to normalize the file path during
searching the map

Reviewed By: wallace, aprantl

Differential Revision: https://reviews.llvm.org/D112439




More information about the All-commits mailing list