mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Use compact unwind for the iOS simulator.
Another step in fixing pr19185. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -31,6 +31,11 @@ static bool useCompactUnwind(const Triple &T) {
|
||||
if (T.isMacOSX() && !T.isMacOSXVersionLT(10, 6))
|
||||
return true;
|
||||
|
||||
// And the iOS simulator.
|
||||
if (T.isiOS() &&
|
||||
(T.getArch() == Triple::x86_64 || T.getArch() == Triple::x86))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user