aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-01-15 08:20:29 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-01-15 08:20:29 +0000
commit4d0f6e1a1ad4d0249438bdbd46507d9ec74a30eb (patch)
treebad91992aa8a8e09db7160235864e3b3fd353e49 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentfddd6a3f69d529c1fc40cce7c25686004ab824f0 (diff)
downloadllvm-4d0f6e1a1ad4d0249438bdbd46507d9ec74a30eb.zip
llvm-4d0f6e1a1ad4d0249438bdbd46507d9ec74a30eb.tar.gz
llvm-4d0f6e1a1ad4d0249438bdbd46507d9ec74a30eb.tar.bz2
gn build: Rename llvm_host_triple to llvm_current_triple and have it use current_{cpu,os}.
This makes e.g. ToolChain::isCrossCompiling() in clang/lib/Driver/ToolChain.cpp return the correct result if the compiler was cross-compiled. This change also affects llvm_default_target_triple, so cross-compiled compilers default to targeting the cross-compilation target, which makes more sense than the host that the compiler was compiled on. This change will also be necessary in order for the correct triples to appear in generated lit files for non-native targets. Differential Revision: https://reviews.llvm.org/D56696 llvm-svn: 351168
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions