File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -38,20 +38,6 @@ extern char PROF_NAME_STOP COMPILER_RT_VISIBILITY COMPILER_RT_WEAK;
38
38
extern ValueProfNode PROF_VNODES_START COMPILER_RT_VISIBILITY COMPILER_RT_WEAK ;
39
39
extern ValueProfNode PROF_VNODES_STOP COMPILER_RT_VISIBILITY COMPILER_RT_WEAK ;
40
40
41
- /* Add dummy data to ensure the section is always created. Add used attribute so
42
- * that they are linker GC roots on supported ELF platforms.
43
- */
44
- __llvm_profile_data __prof_data_sect_data [0 ] COMPILER_RT_SECTION (
45
- INSTR_PROF_DATA_SECT_NAME ) COMPILER_RT_USED ;
46
- uint64_t __prof_cnts_sect_data [0 ] COMPILER_RT_SECTION (INSTR_PROF_CNTS_SECT_NAME )
47
- COMPILER_RT_USED ;
48
- uint32_t __prof_orderfile_sect_data [0 ] COMPILER_RT_SECTION (
49
- INSTR_PROF_ORDERFILE_SECT_NAME ) COMPILER_RT_USED ;
50
- const char __prof_nms_sect_data [0 ] COMPILER_RT_SECTION (
51
- INSTR_PROF_NAME_SECT_NAME ) COMPILER_RT_USED ;
52
- ValueProfNode __prof_vnodes_sect_data [0 ] COMPILER_RT_SECTION (
53
- INSTR_PROF_VNODES_SECT_NAME ) COMPILER_RT_USED ;
54
-
55
41
COMPILER_RT_VISIBILITY const __llvm_profile_data *
56
42
__llvm_profile_begin_data (void ) {
57
43
return & PROF_DATA_START ;
You can’t perform that action at this time.
0 commit comments