[PATCH] D56187: [LLVM-C] Expand LLVMRelocMode
Robert Widmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 2 16:37:33 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL350279: [LLVM-C] Expand LLVMRelocMode (authored by CodaFi, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D56187?vs=179800&id=179970#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56187/new/
https://reviews.llvm.org/D56187
Files:
llvm/trunk/include/llvm-c/TargetMachine.h
llvm/trunk/lib/Target/TargetMachineC.cpp
Index: llvm/trunk/lib/Target/TargetMachineC.cpp
===================================================================
--- llvm/trunk/lib/Target/TargetMachineC.cpp
+++ llvm/trunk/lib/Target/TargetMachineC.cpp
@@ -115,6 +115,15 @@
case LLVMRelocDynamicNoPic:
RM = Reloc::DynamicNoPIC;
break;
+ case LLVMRelocROPI:
+ RM = Reloc::ROPI;
+ break;
+ case LLVMRelocRWPI:
+ RM = Reloc::RWPI;
+ break;
+ case LLVMRelocROPI_RWPI:
+ RM = Reloc::ROPI_RWPI;
+ break;
default:
break;
}
Index: llvm/trunk/include/llvm-c/TargetMachine.h
===================================================================
--- llvm/trunk/include/llvm-c/TargetMachine.h
+++ llvm/trunk/include/llvm-c/TargetMachine.h
@@ -39,7 +39,10 @@
LLVMRelocDefault,
LLVMRelocStatic,
LLVMRelocPIC,
- LLVMRelocDynamicNoPic
+ LLVMRelocDynamicNoPic,
+ LLVMRelocROPI,
+ LLVMRelocRWPI,
+ LLVMRelocROPI_RWPI
} LLVMRelocMode;
typedef enum {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56187.179970.patch
Type: text/x-patch
Size: 989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190103/00ebbb24/attachment.bin>
More information about the llvm-commits
mailing list