]> granicus.if.org Git - clang/commit
[OpenMP] Fix passing of -m arguments correctly
authorJonas Hahnfeld <hahnjo@hahnjo.de>
Wed, 4 Oct 2017 13:32:59 +0000 (13:32 +0000)
committerJonas Hahnfeld <hahnjo@hahnjo.de>
Wed, 4 Oct 2017 13:32:59 +0000 (13:32 +0000)
commit940a9ffc62637f638fabebd83a0daaa97c6f43e8
tree78f240739515b822c87b25b94cdf5f5809a61464
parent74f99c5856494770f620e7848c38fd6b63d00e26
[OpenMP] Fix passing of -m arguments correctly

The recent fix in D38258 was wrong: getAuxTriple() only returns
non-null values for the CUDA toolchain. That is why the now added
test for PPC and X86 failed.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314902 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/ToolChain.h
lib/Driver/Compilation.cpp
lib/Driver/ToolChain.cpp
test/Driver/openmp-offload.c