Displaying 1 result from an estimated 1 matches for "extractedfn".
Did you mean:
extracted
2012 Nov 14
0
[LLVMdev] CodeExtractor doesn't work with debugging metadata
...oid @llvm.dbg.declare(metadata !{i32* %a}, metadata !15), !dbg !14
%call = call i32 @Foo(), !dbg !14
store i32 %call, i32* %a, align 4, !dbg !14
After Extraction
define i32 @Fn() nounwind {
entry:
%a = alloca i32, align 4
...
call void @extractedFn(i32* %a)
define internal void @extractedFn(i32* %a) noinline {
newFuncRoot:
call void @llvm.dbg.declare(metadata !{i32* %a}, metadata !19), !dbg !14 ;; metadata now references variable not allocated in this function
%call = call i32 @Foo(), !dbg !14
store...