[all-commits] [llvm/llvm-project] 61d314: [dexter] Check path != None before calling os.path...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Mar 15 04:50:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61d314024dc447e49481cb8494bf7165f9ec1323
      https://github.com/llvm/llvm-project/commit/61d314024dc447e49481cb8494bf7165f9ec1323
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2021-03-15 (Mon, 15 Mar 2021)

  Changed paths:
    M debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ControllerHelpers.py

  Log Message:
  -----------
  [dexter] Check path != None before calling os.path.exists

The test optnone-simple-functions.cpp added in D97668 fails on macOS.
os.path.exists raises an exception because we pass it None. Guard against this.

Related revision: https://reviews.llvm.org/D97668




More information about the All-commits mailing list