File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_codegen_llvm/src/builder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ fn gen_define_handling<'ll>(
227
227
let o_types =
228
228
add_priv_unnamed_arr ( & cx, & format ! ( ".offload_maptypes.{num}" ) , & vec ! [ 3 ; num_ptr_types] ) ;
229
229
// Next: For each function, generate these three entries. A weak constant,
230
- // the llvm.rodata entry name, and the omp_offloading_entries value
230
+ // the llvm.rodata entry name, and the llvm_offload_entries value
231
231
232
232
let name = format ! ( ".kernel_{num}.region_id" ) ;
233
233
let initializer = cx. get_const_i8 ( 0 ) ;
@@ -262,7 +262,7 @@ fn gen_define_handling<'ll>(
262
262
llvm:: set_linkage ( llglobal, WeakAnyLinkage ) ;
263
263
llvm:: set_initializer ( llglobal, initializer) ;
264
264
llvm:: set_alignment ( llglobal, Align :: ONE ) ;
265
- let c_section_name = CString :: new ( ".omp_offloading_entries " ) . unwrap ( ) ;
265
+ let c_section_name = CString :: new ( "llvm_offload_entries " ) . unwrap ( ) ;
266
266
llvm:: set_section ( llglobal, & c_section_name) ;
267
267
( o_types, region_id)
268
268
}
You can’t perform that action at this time.
0 commit comments