search for: __staticinit

Displaying 7 results from an estimated 7 matches for "__staticinit".

Did you mean: __static_init
2011 Sep 09
3
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...rivate unnamed_addr constant [6 x i8] c"~Foo\0A\00" @.str1 = private unnamed_addr constant [5 x i8] c"Foo\0A\00" @llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @_GLOBAL__I_a }] define internal void @__cxx_global_var_init() nounwind section "__TEXT,__StaticInit,regular,pure_instructions" { call void @_ZN3FooC1Ev(%class.Foo* @foo) %1 = call i32 @__cxa_atexit(void (i8*)* bitcast (void (%class.Foo*)* @_ZN3FooD1Ev to void (i8*)*), i8* bitcast (%class.Foo* @foo to i8*), i8* bitcast (i8** @__dso_handle to i8*)) ret void } define linkonce_odr void @_ZN3...
2011 Sep 09
0
[LLVMdev] runStaticConstructorsDestructors not calling static destructors
...constant [6 x i8] c"~Foo\0A\00" > @.str1 = private unnamed_addr constant [5 x i8] c"Foo\0A\00" > @llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @_GLOBAL__I_a }] > > define internal void @__cxx_global_var_init() nounwind section "__TEXT,__StaticInit,regular,pure_instructions" { >  call void @_ZN3FooC1Ev(%class.Foo* @foo) >  %1 = call i32 @__cxa_atexit(void (i8*)* bitcast (void (%class.Foo*)* @_ZN3FooD1Ev to void (i8*)*), i8* bitcast (%class.Foo* @foo to i8*), i8* bitcast (i8** @__dso_handle to i8*)) >  ret void > } > > d...
2014 Apr 30
4
[LLVMdev] Best way to clean up empty global_ctors
Hi, I'd like to fix PR19590, which is about llvm.global_ctors containing functions that end up being empty after optimization (which causes the linker to add useless init_array entries to the output binary). globalopt removes empty functions from llvm.global_ctors, but by the time the function becomes empty globalopt has already run and it doesn't run again. I'm wondering what the
2011 May 23
1
[LLVMdev] library functions
I see that some of the system header-file definitions have the internal keyword. For example, define internal void @__cxx_global_var_init() section "__TEXT,__StaticInit,regular,pure_instructions" { entry: call void @_ZNSt8ios_base4InitC1Ev(%"class.std::ios_base::Init"* @_ZStL8__ioinit) %0 = call i32 @__cxa_atexit(void (i8*)* bitcast (void (%"class.std::ios_base::Init"*)* @_ZNSt8ios_base4InitD1Ev to void (i8*)*), i8* getelementptr inbou...
2008 Jun 21
3
[LLVMdev] llvm-gcc -O0 compile times
...4 | Section (__DATA, __mod_init_func): 4 Section (__DATA, __bss): 32 | Section (__DATA, __bss): 65 Section (__TEXT, __textcoal_nt): 116324 | Section (__TEXT, __textcoal_nt): 168920 Section (__TEXT, __literal8): 8 | Section (__TEXT, __eh_frame): 88636 Section (__TEXT, __StaticInit): 147 | Section (__TEXT, __StaticInit): 166 Section (__IMPORT, __jump_table): 12790 | Section (__IMPORT, __jump_table): 12410 Section (__IMPORT, __pointers): 136 | Section (__IMPORT, __pointers): 128 total 1495929 | total 2211546 total 1495968 | total 2211617...
2011 May 23
0
[LLVMdev] library functions
On 5/23/11 1:05 PM, George Baah wrote: > Hi, > I am writing a pass which is supposed to ignore library functions. Is > there a way to > distinguish functions declared and defined by a developer from > non-local functions (library functions)? > Thanks. There is no reliable way to do this, but there are several heuristics that will probably work well in practice. When
2011 May 23
2
[LLVMdev] library functions
Hi, I am writing a pass which is supposed to ignore library functions. Is there a way to distinguish functions declared and defined by a developer from non-local functions (library functions)? Thanks. George -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110523/650c7fa4/attachment.html>