diff options
author | Florian Hahn <florian.hahn@arm.com> | 2016-12-01 11:02:59 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2016-12-01 11:02:59 +0000 |
commit | 15be03a922f85c97b65d606d6e8b3691c0d69504 (patch) | |
tree | 7a3fe8f1c3824432621e102d607ae82880845232 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 2ce221646903a31d41fc7cdd98f94a2c50eee23f (diff) | |
download | llvm-15be03a922f85c97b65d606d6e8b3691c0d69504.zip llvm-15be03a922f85c97b65d606d6e8b3691c0d69504.tar.gz llvm-15be03a922f85c97b65d606d6e8b3691c0d69504.tar.bz2 |
Fix crash with unsupported architectures in Linux/Gnu target triples.
Summary: This patch adds a check and an error message to gnutools::Linker::ConstructJob in case the architecture is not supported. For most other operating systems, the error message is created in lib/Basic/Targets.cpp:AllocateTarget, but when construction the linker arguments for the gnutools linker a supported architecture is required.
Reviewers: rafael, joerg, echristo
Subscribers: mehdi_amini, joerg, dschuff, cfe-commits
Differential Revision: https://reviews.llvm.org/D27066
llvm-svn: 288327
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions