aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-06-15 23:46:11 +0000
committerJustin Lebar <jlebar@google.com>2016-06-15 23:46:11 +0000
commit4db224e199e9f0903cc1e80c5d3869346ea67b5f (patch)
tree2048aa303721db3e3da6faa05a8a90c3b0229c29 /llvm/lib/Object/ELFObjectFile.cpp
parent322f21908d63851668fe0f590659ceb93655575c (diff)
downloadllvm-4db224e199e9f0903cc1e80c5d3869346ea67b5f.zip
llvm-4db224e199e9f0903cc1e80c5d3869346ea67b5f.tar.gz
llvm-4db224e199e9f0903cc1e80c5d3869346ea67b5f.tar.bz2
[CUDA] Don't pass top-level -march down to device cc1 or ptxas.
Summary: Previously if you did e.g. $ clang -march=haswell -x cuda foo.cu we would pass "-march=haswell -march=sm_20" down to the ptxas tool. This causes it to assert, and rightly so! Reviewers: tra Subscribers: cfe-commits, echristo Differential Revision: http://reviews.llvm.org/D21419 llvm-svn: 272857
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions