Skip to content

Commit 2492d24

Browse files
alexcrichtonbadboy
authored andcommitted
llvm: Remove no longer existent LLVMAddTargetData binding
1 parent 0509be1 commit 2492d24

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_llvm/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1591,9 +1591,6 @@ extern {
15911591

15921592
/// Creates target data from a target layout string.
15931593
pub fn LLVMCreateTargetData(StringRep: *const c_char) -> TargetDataRef;
1594-
/// Adds the target data to the given pass manager. The pass manager
1595-
/// references the target data only weakly.
1596-
pub fn LLVMAddTargetData(TD: TargetDataRef, PM: PassManagerRef);
15971594
/// Number of bytes clobbered when doing a Store to *T.
15981595
pub fn LLVMStoreSizeOfType(TD: TargetDataRef, Ty: TypeRef)
15991596
-> c_ulonglong;

0 commit comments

Comments
 (0)