mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 13:10:34 +00:00
llc: Fix a refacto, .loc support didn't work before 10.6.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
863f84648f
commit
0ccc0dde33
@ -281,7 +281,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
// Disable .loc support for older OS X versions.
|
||||
if (TheTriple.isMacOSX() &&
|
||||
TheTriple.isMacOSXVersionLT(10, 5))
|
||||
TheTriple.isMacOSXVersionLT(10, 6))
|
||||
Target.setMCUseLoc(false);
|
||||
|
||||
// Figure out where we are going to send the output...
|
||||
|
Loading…
Reference in New Issue
Block a user