Remove Triple Vendor check when creating Linux Platform
authorTed Woodward <ted.woodward@codeaurora.org>
Mon, 11 May 2015 21:21:21 +0000 (21:21 +0000)
committerTed Woodward <ted.woodward@codeaurora.org>
Mon, 11 May 2015 21:21:21 +0000 (21:21 +0000)
commitb1da257ad1022416aa560c809398c32981eabd21
tree0bcb9e8f595d8adf7d7644fe161c7fad36d2b500
parentd92350878221f10923fe1572ba5192b67a19c8de
Remove Triple Vendor check when creating Linux Platform

Summary: The Linux Platform shouldn't care about the Vendor field in the Triple. Currently it allows a value of "PC", or "unknown" if LLDB was built on Linux. This patch removes that check, so the Vendor field isn't touched. This will allow the Linux Platform to be created when using a Triple of *-*-Linux.

Reviewers: vharron, clayborg, sas, tberghammer

Reviewed By: clayborg, sas, tberghammer

Subscribers: tberghammer, sas, lldb-commits

Differential Revision: http://reviews.llvm.org/D8742

llvm-svn: 237052
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp