summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-08-22 22:56:46 +0000
committerPetr Hosek <phosek@chromium.org>2018-08-22 22:56:46 +0000
commit678c1c6cccf4ca16df1a9986a2ec5e05040880c4 (patch)
treef2425c0ca430aedf44b9e6cebd298675588c39dc /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata
parente2efbbe571aea9f0302c297ba3c3fe0d375468f2 (diff)
downloadbcm5719-llvm-678c1c6cccf4ca16df1a9986a2ec5e05040880c4.tar.gz
bcm5719-llvm-678c1c6cccf4ca16df1a9986a2ec5e05040880c4.zip
[Driver] Check normalized triples for multiarch runtime path
Previously we only used target triple as provided which matches the GCC behavior, but it also means that all clients have to be consistent in their spelling of target triples since e.g. x86_64-linux-gnu and x86_64-unknown-linux-gnu will result in Clang driver looking at two different paths when searching for runtime libraries. Unfortunatelly, as it turned out many clients aren't consistent in their spelling of target triples, e.g. many Linux distributions use the shorter spelling but config.guess and rustc insist on using the normalized variant which is causing issues. To avoid having to ship multiple copies of runtimes for different triple spelling or rely on symlinks which are not portable, we should also check the normalized triple when constructing paths for multiarch runtimes. Differential Revision: https://reviews.llvm.org/D50547 llvm-svn: 340471
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud