File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
librustc_codegen_llvm/llvm Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ pub enum Attribute {
122122 SanitizeThread = 20 ,
123123 SanitizeAddress = 21 ,
124124 SanitizeMemory = 22 ,
125+ NonLazyBind = 23 ,
125126}
126127
127128/// LLVMIntPredicate
Original file line number Diff line number Diff line change @@ -178,6 +178,8 @@ static Attribute::AttrKind fromRust(LLVMRustAttribute Kind) {
178178 return Attribute::SanitizeAddress;
179179 case SanitizeMemory:
180180 return Attribute::SanitizeMemory;
181+ case NonLazyBind:
182+ return Attribute::NonLazyBind;
181183 }
182184 report_fatal_error (" bad AttributeKind" );
183185}
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ enum LLVMRustAttribute {
9797 SanitizeThread = 20 ,
9898 SanitizeAddress = 21 ,
9999 SanitizeMemory = 22 ,
100+ NonLazyBind = 23 ,
100101};
101102
102103typedef struct OpaqueRustString *RustStringRef;
You can’t perform that action at this time.
0 commit comments