projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caf4893
)
Disable PIC for JIT.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 18 Feb 2006 01:49:25 +0000
(
01:49
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 18 Feb 2006 01:49:25 +0000
(
01:49
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26281
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetMachine.cpp
b/lib/Target/X86/X86TargetMachine.cpp
index 49f187841926848dfb0179efb91af8e351063302..f24e1b026a96c721e31d801644d85b9f8216b901 100644
(file)
--- a/
lib/Target/X86/X86TargetMachine.cpp
+++ b/
lib/Target/X86/X86TargetMachine.cpp
@@
-149,6
+149,9
@@
bool X86TargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &Out,
/// 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());