summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-26 21:12:04 +0000
committerChris Lattner <sabre@nondot.org>2006-07-26 21:12:04 +0000
commit9e56e5c00308f53f4dce79e5a744fdcbb4f377c7 (patch)
tree66a2c2c7c7ad201f55db5dde1ffaaa635c60e2ad /llvm/lib/Target/TargetMachine.cpp
parent1d0ebb9eb79c3513f30c62737f05bdc97ef0f481 (diff)
downloadbcm5719-llvm-9e56e5c00308f53f4dce79e5a744fdcbb4f377c7.tar.gz
bcm5719-llvm-9e56e5c00308f53f4dce79e5a744fdcbb4f377c7.zip
Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC.
llvm-svn: 29307
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index 1fbad7d19ab..d1ffaa70d7c 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -66,7 +66,7 @@ namespace {
"Target default relocation model"),
clEnumValN(Reloc::Static, "static",
"Non-relocatable code"),
- clEnumValN(Reloc::PIC, "pic",
+ clEnumValN(Reloc::PIC_, "pic",
"Fully relocatable, position independent code"),
clEnumValN(Reloc::DynamicNoPIC, "dynamic-no-pic",
"Relocatable external references, non-relocatable code"),
OpenPOWER on IntegriCloud