]> granicus.if.org Git - clang/commit
[Driver][OpenMP] Create tool chains for OpenMP offloading kind.
authorSamuel Antao <sfantao@us.ibm.com>
Thu, 27 Oct 2016 16:38:05 +0000 (16:38 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Thu, 27 Oct 2016 16:38:05 +0000 (16:38 +0000)
commit09ceae6c4b97c7acc0d05eeb3a38a4396d7c72d8
tree733f5e3076092934c11e455f0ff185bc52bd7c24
parent8a306507846b680477cb90287eec9f957621e292
[Driver][OpenMP] Create tool chains for OpenMP offloading kind.

Summary: This patch adds new logic to create the necessary tool chains to support offloading for OpenMP. The OpenMP related options are checked and the tool chains created accordingly. Diagnostics are emitted in case the options are illegal or express unknown targets.

Reviewers: echristo, tra, jlebar, rsmith, ABataev, hfinkel

Subscribers: whchung, mkuron, mehdi_amini, cfe-commits, Hahnfeld, arpith-jacob, carlo.bertolli, caomhin

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285311 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Driver/Action.h
include/clang/Driver/Driver.h
lib/Driver/Action.cpp
lib/Driver/Driver.cpp
lib/Driver/Tools.cpp
test/Driver/openmp-offload.c [new file with mode: 0644]