Displaying 1 result from an estimated 1 matches for "_zn3clsc1ev".
2014 Mar 21
3
[LLVMdev] lli crashes when running cpp programs
...4c06ca995 __libc_start_main +
245
23 lli
0x000000000080d479
Stack dump:
0. Program
arguments: lli example.bc
1. Running pass 'X86
Machine Code Emitter' on function
'@main'
Aborted
I look into
the problem and find that it is caused by the alias
instructions:
@_ZN3clsC1Ev = alias void (%class.cls*)*
@_ZN3clsC2Ev
@_ZN3clsD1Ev = alias void (%class.cls*)*
@_ZN3clsD2Ev
The first alias is for the constructor
and the other one is for the destructor. When finishing JIT the main function,
JITEmitter needs to resolve all the names in main. When it is trying to resolve
the...