Skip to content

Commit 8c535d4

Browse files
committed
Don't enable ssp everywhere.
1 parent 5b2c17f commit 8c535d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/intrinsics/intrinsics.ll.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ target triple = "@CFG_LLVM_TRIPLE@"
6161
%struct.type_desc = type { %struct.type_desc**, i32, i32, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*)*, i32, void (i8*, %struct.rust_task*, i8*, %struct.type_desc**, i8*, i8*, i8)*, %struct.UT_hash_handle, i32, [0 x %struct.type_desc*] }
6262
%union.rust_ivec_payload = type { %struct.rust_ivec_heap* }
6363

64-
define linkonce_odr i32 @rust_intrinsic_vec_len(%struct.rust_task* nocapture %task, %struct.type_desc* nocapture %ty, %struct.rust_vec* nocapture %v) nounwind readonly ssp {
64+
define linkonce_odr i32 @rust_intrinsic_vec_len(%struct.rust_task* nocapture %task, %struct.type_desc* nocapture %ty, %struct.rust_vec* nocapture %v) nounwind readonly {
6565
entry:
6666
%fill = getelementptr inbounds %struct.rust_vec* %v, i32 0, i32 2
6767
%tmp1 = load i32* %fill, align 4, !tbaa !0
@@ -71,7 +71,7 @@ entry:
7171
ret i32 %div
7272
}
7373

74-
define linkonce_odr i32 @rust_intrinsic_ivec_len(%struct.rust_task* nocapture %task, %struct.type_desc* nocapture %ty, %struct.rust_ivec* nocapture %v) nounwind readonly ssp {
74+
define linkonce_odr i32 @rust_intrinsic_ivec_len(%struct.rust_task* nocapture %task, %struct.type_desc* nocapture %ty, %struct.rust_ivec* nocapture %v) nounwind readonly {
7575
entry:
7676
%fill1 = getelementptr inbounds %struct.rust_ivec* %v, i32 0, i32 0
7777
%tmp2 = load i32* %fill1, align 4, !tbaa !0

0 commit comments

Comments
 (0)