[all-commits] [llvm/llvm-project] 10eb3b: Skip -fPIE for AMDGPU and HIP toolchain

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Mon Sep 28 19:25:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 10eb3bf2d430825195bf092d3a75c4745d463826
      https://github.com/llvm/llvm-project/commit/10eb3bf2d430825195bf092d3a75c4745d463826
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/HIP.cpp
    A clang/test/Driver/hip-fpie-option.hip

  Log Message:
  -----------
  Skip -fPIE for AMDGPU and HIP toolchain

AMDGPU toolchain does not support -fPIE, therefore skip it if specified by driver.

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




More information about the All-commits mailing list