[all-commits] [llvm/llvm-project] 549542: [HLSL] emit-obj when set output.

Xiang Li via All-commits all-commits at lists.llvm.org
Fri Aug 5 16:27:31 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 549542b494f4c84bead744ed91ea81236e4aaa63
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    A clang/test/Driver/dxc_Fo.hlsl

  Log Message:
  [HLSL] emit-obj when set output.

When not set output, set default output to stdout.
When set output with -Fo and no -fcgl, set -emit-obj to generate dx container.

Reviewed By: beanz

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

More information about the All-commits mailing list