summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/lto.h
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-04-14 13:54:16 +0000
committerJames Molloy <james.molloy@arm.com>2014-04-14 13:54:16 +0000
commit951e529f6623d74c86c2e708dabca57779ef3d9b (patch)
tree535cb7790fdb9dc640831cd2ce9efdcb73b7c736 /llvm/include/llvm-c/lto.h
parentf434c4fa3f86cacb7a9cee2f9ca827caf933fc0c (diff)
downloadbcm5719-llvm-951e529f6623d74c86c2e708dabca57779ef3d9b.tar.gz
bcm5719-llvm-951e529f6623d74c86c2e708dabca57779ef3d9b.zip
Teach llvm-lto to respect the given RelocModel.
Patch by Nick Tomlinson! llvm-svn: 206177
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r--llvm/include/llvm-c/lto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 049c4d75175..808de033184 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -79,7 +79,8 @@ typedef enum {
typedef enum {
LTO_CODEGEN_PIC_MODEL_STATIC = 0,
LTO_CODEGEN_PIC_MODEL_DYNAMIC = 1,
- LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC = 2
+ LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC = 2,
+ LTO_CODEGEN_PIC_MODEL_DEFAULT = 3
} lto_codegen_model;
/** opaque reference to a loaded object module */
OpenPOWER on IntegriCloud