diff options
author | Stephen Wilson <wilsons@start.ca> | 2011-02-24 19:13:58 +0000 |
---|---|---|
committer | Stephen Wilson <wilsons@start.ca> | 2011-02-24 19:13:58 +0000 |
commit | facebfc3544c767cfe1876001edf714ad73e757f (patch) | |
tree | 48ff959c435a4f973f1fb06591c7561ffe78a6e3 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 1a2fdce30acf57d9ceb339ca671f2d2884dd04aa (diff) | |
download | bcm5719-llvm-facebfc3544c767cfe1876001edf714ad73e757f.tar.gz bcm5719-llvm-facebfc3544c767cfe1876001edf714ad73e757f.zip |
ArchSpec: Do not depend on Host::GetArchitecture.
The major issue this patch solves is that ArchSpec::SetTriple no longer depends
on the implementation of Host::GetArchitecture. On linux, Host::GetArchitecture
calls ArchSpec::SetTriple, thus blowing the stack.
A second smaller point is that SetTriple now defaults to Host defined components
iff all OS, vendor and environment fields are not set.
llvm-svn: 126403
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions