@@ -74,35 +74,32 @@ bitflags! {
74
74
/// `#[used]`: indicates that LLVM can't eliminate this function (but the
75
75
/// linker can!).
76
76
const USED = 1 << 9 ;
77
- /// `#[ffi_returns_twice]`, indicates that an extern function can return
78
- /// multiple times
79
- const FFI_RETURNS_TWICE = 1 << 10 ;
80
77
/// `#[track_caller]`: allow access to the caller location
81
- const TRACK_CALLER = 1 << 11 ;
78
+ const TRACK_CALLER = 1 << 10 ;
82
79
/// #[ffi_pure]: applies clang's `pure` attribute to a foreign function
83
80
/// declaration.
84
- const FFI_PURE = 1 << 12 ;
81
+ const FFI_PURE = 1 << 11 ;
85
82
/// #[ffi_const]: applies clang's `const` attribute to a foreign function
86
83
/// declaration.
87
- const FFI_CONST = 1 << 13 ;
84
+ const FFI_CONST = 1 << 12 ;
88
85
/// #[cmse_nonsecure_entry]: with a TrustZone-M extension, declare a
89
86
/// function as an entry function from Non-Secure code.
90
- const CMSE_NONSECURE_ENTRY = 1 << 14 ;
87
+ const CMSE_NONSECURE_ENTRY = 1 << 13 ;
91
88
/// `#[coverage(off)]`: indicates that the function should be ignored by
92
89
/// the MIR `InstrumentCoverage` pass and not added to the coverage map
93
90
/// during codegen.
94
- const NO_COVERAGE = 1 << 15 ;
91
+ const NO_COVERAGE = 1 << 14 ;
95
92
/// `#[used(linker)]`:
96
93
/// indicates that neither LLVM nor the linker will eliminate this function.
97
- const USED_LINKER = 1 << 16 ;
94
+ const USED_LINKER = 1 << 15 ;
98
95
/// `#[rustc_deallocator]`: a hint to LLVM that the function only deallocates memory.
99
- const DEALLOCATOR = 1 << 17 ;
96
+ const DEALLOCATOR = 1 << 16 ;
100
97
/// `#[rustc_reallocator]`: a hint to LLVM that the function only reallocates memory.
101
- const REALLOCATOR = 1 << 18 ;
98
+ const REALLOCATOR = 1 << 17 ;
102
99
/// `#[rustc_allocator_zeroed]`: a hint to LLVM that the function only allocates zeroed memory.
103
- const ALLOCATOR_ZEROED = 1 << 19 ;
100
+ const ALLOCATOR_ZEROED = 1 << 18 ;
104
101
/// `#[no_builtins]`: indicates that disable implicit builtin knowledge of functions for the function.
105
- const NO_BUILTINS = 1 << 20 ;
102
+ const NO_BUILTINS = 1 << 19 ;
106
103
}
107
104
}
108
105
rustc_data_structures:: external_bitflags_debug! { CodegenFnAttrFlags }
0 commit comments