[all-commits] [llvm/llvm-project] 5545f7: Pass the executable name as arg[0] when calling Ex...

Sean Perry via All-commits all-commits at lists.llvm.org
Wed Oct 30 10:48:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5545f76dc94e76ef6800823bdd1e107ad2264717
      https://github.com/llvm/llvm-project/commit/5545f76dc94e76ef6800823bdd1e107ad2264717
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp

  Log Message:
  -----------
  Pass the executable name as arg[0] when calling ExecuteAndWait() (#114067)

PR https://github.com/llvm/llvm-project/pull/111976 was enabling the
tests updated in the PR to run on all systems. We found a few didn't run
on z/OS. I tracked the problem down to:
1. the ExecuteToolChainProgram() function wasn't passing the executable
name as the first arg. That was causing exec on z/OS to fail.
2. the temp file needs to be a text file so codepage conversion happens.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list