Skip to content

Commit f1e9adf

Browse files
authored
Merge pull request llvm#108 from pcc/filc9
Copy subprogram from original function
2 parents d89b047 + 77b31bd commit f1e9adf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Instrumentation/FilPizlonator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10056,6 +10056,7 @@ class Pizlonator {
1005610056
GlobalValue::InternalLinkage, F->getAddressSpace(),
1005710057
"pizlonatedFI_" + F->getName(), &M);
1005810058
FunctionToHiddenFunction[F] = NewF;
10059+
NewF->setSubprogram(F->getSubprogram());
1005910060

1006010061
PutImplIntoComdat(F, NewF);
1006110062

0 commit comments

Comments
 (0)