mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Use compact unwind for the iOS simulator.
Another step in fixing pr19185. llvm-svn: 211416
This commit is contained in:
parent
f82345a30b
commit
c408251eb7
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
// RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-macosx10.8.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
|
||||
// RUN: llvm-mc < %s -filetype=obj -triple x86_64-apple-ios7.0.0 | llvm-readobj -s | FileCheck -check-prefix=MACHO %s
|
||||
// RUN: llvm-mc < %s -filetype=obj -triple x86_64-unknown-linux | llvm-readobj -s | FileCheck -check-prefix=ELF %s
|
||||
|
||||
.globl __Z3barv
|
||||
|
Loading…
Reference in New Issue
Block a user