Displaying 3 results from an estimated 3 matches for "clonedebuginfometadata".
2016 Apr 15
2
Can DISubprogram be renamed?
...Commit r260791 contained an error in that it would introduce a
cross-module
reference in the old module. It also introduced O(N^2) complexity in the
module cloner by requiring the entire module to be visited for each
function.
Fix both of these problems by avoiding use of the CloneDebugInfoMetadata
function (which is only designed to do intra-module cloning) and cloning
function-attached metadata in the same way that we clone all other
metadata.
Differential Revision: http://reviews.llvm.org/D18583
During CloneFunctionInto we seem to create a new DISubprogram which st...
2016 Apr 20
2
Dangling debug value or bug in argument elimination pass?
...Commit r260791 contained an error in that it would introduce a cross-module
reference in the old module. It also introduced O(N^2) complexity in the
module cloner by requiring the entire module to be visited for each function.
Fix both of these problems by avoiding use of the CloneDebugInfoMetadata
function (which is only designed to do intra-module cloning) and cloning
function-attached metadata in the same way that we clone all other metadata.
Differential Revision: http://reviews.llvm.org/D18583
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk at 264...
2016 Apr 15
3
Dangling debug value or bug in argument elimination pass?
I will start from afar… When a dead function argument is removed, should we keep around the debug info for it?
I have the following case:
define internal fastcc void @foo(i8* %aa, i8* %reg, i8* %field, i32 %bb, ...) unnamed_addr #3 !dbg !28 {
entry:
call void @llvm.dbg.value(metabb i8* %aa, i64 0, metabb !34, metabb !47), !dbg !57
call void @llvm.dbg.value(metabb i8* %reg, i64 0,