File tree 2 files changed +1
-11
lines changed 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -973,7 +973,7 @@ cmake_dependent_option(COMPILER_RT_BUILD_CRT "Build crtbegin.o/crtend.o" ON "COM
973
973
if (COMPILER_RT_BUILD_CRT)
974
974
add_compiler_rt_component(crt)
975
975
976
- option (COMPILER_RT_CRT_USE_EH_FRAME_REGISTRY "Use eh_frame in crtbegin.o/crtend.o" ON )
976
+ option (COMPILER_RT_CRT_USE_EH_FRAME_REGISTRY "Use eh_frame in crtbegin.o/crtend.o" OFF )
977
977
978
978
include (CheckSectionExists)
979
979
check_section_exists(".init_array" COMPILER_RT_HAS_INITFINI_ARRAY
Original file line number Diff line number Diff line change 9
9
10
10
// Ensure the various startup functions are called in the proper order.
11
11
12
- // CHECK: __register_frame_info()
13
12
/// ctor() is here if ld.so/libc supports DT_INIT/DT_FINI
14
13
// CHECK: main()
15
14
/// dtor() is here if ld.so/libc supports DT_INIT/DT_FINI
16
- // CHECK: __deregister_frame_info()
17
15
18
16
struct object ;
19
17
static int counter ;
20
18
21
- void __register_frame_info (const void * fi , struct object * obj ) {
22
- printf ("__register_frame_info()\n" );
23
- }
24
-
25
- void __deregister_frame_info (const void * fi ) {
26
- printf ("__deregister_frame_info()\n" );
27
- }
28
-
29
19
void __attribute__((constructor )) ctor () {
30
20
printf ("ctor()\n" );
31
21
++ counter ;
You can’t perform that action at this time.
0 commit comments