commit | 6428302f3d5c70b3fa4bdedfc14cdd9104e271cf | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Feb 18 01:49:25 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Feb 18 01:49:25 2006 +0000 |
tree | 6c01c9da71ec33bcd15ced28b7aaa03ab7e43420 | |
parent | caf489353605905fce38b7033987010bad910b57 [diff] [blame] |
Disable PIC for JIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26281 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 49f1878..f24e1b0 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -149,6 +149,9 @@ /// not supported for this target. /// void X86JITInfo::addPassesToJITCompile(FunctionPassManager &PM) { + // The JIT does not support or need PIC. + PICEnabled = false; + // FIXME: Implement efficient support for garbage collection intrinsics. PM.add(createLowerGCPass());