[all-commits] [llvm/llvm-project] 0e8506: [SystemZ][z/OS] Pass OpenFlags when creating tmp f...

Abhina Sree via All-commits all-commits at lists.llvm.org
Tue Jun 8 11:45:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e8506debae3ad534b4eecfa922fc6281506a635
      https://github.com/llvm/llvm-project/commit/0e8506debae3ad534b4eecfa922fc6281506a635
  Author: Abhina Sreeskantharajan <Abhina.Sreeskantharajan at ibm.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInstance.cpp
    M llvm/include/llvm/Support/FileSystem.h
    M llvm/lib/Support/Path.cpp

  Log Message:
  -----------
  [SystemZ][z/OS] Pass OpenFlags when creating tmp files

This patch https://reviews.llvm.org/D102876 caused some lit regressions on z/OS because tmp files were no longer being opened based on binary/text mode. This patch passes OpenFlags when creating tmp files so we can open files in different modes.

Reviewed By: amccarth

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




More information about the All-commits mailing list