]> granicus.if.org Git - clang/commit
Revert r310291, r310300 and r310332 because of test failure on Darwin
authorAlex Lorenz <arphaman@gmail.com>
Tue, 8 Aug 2017 11:20:17 +0000 (11:20 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 8 Aug 2017 11:20:17 +0000 (11:20 +0000)
commit97c6e987f83a1b1c855651e00d5f59fcf58f6143
tree8ecb1ecabecb07568222bbfb18f9c9251ffeca79
parente21edc4d3c662f6bfc601a4975106f4d687edd9d
Revert r310291, r310300 and r310332 because of test failure on Darwin

The commit r310291 introduced the failure. r310332 was a test fix commit and
r310300 was a followup commit. I reverted these two to avoid merge conflicts
when reverting.

The 'openmp-offload.c' test is failing on Darwin because the following
run lines:
// RUN:   touch %t1.o
// RUN:   touch %t2.o
// RUN:   %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -save-temps -no-canonical-prefixes %t1.o %t2.o 2>&1 \
// RUN:   | FileCheck -check-prefix=CHK-TWOCUBIN %s

trigger the following assertion:

Driver.cpp:3418:
    assert(CachedResults.find(ActionTC) != CachedResults.end() &&
           "Result does not exist??");

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310345 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Driver/ToolChains/CommonArgs.cpp
lib/Driver/ToolChains/CommonArgs.h
lib/Driver/ToolChains/Cuda.cpp
lib/Driver/ToolChains/Cuda.h
lib/Driver/ToolChains/Gnu.cpp
test/Driver/openmp-offload.c