Brought back the @Used annotation processing.
This commit is contained in:
committed by
alexander-gorshenev
parent
4236bb22fb
commit
de41c5a71f
+4
@@ -69,6 +69,10 @@ internal inline fun<R> generateFunction(codegen: CodeGenerator,
|
|||||||
startLocation,
|
startLocation,
|
||||||
endLocation,
|
endLocation,
|
||||||
descriptor), code)
|
descriptor), code)
|
||||||
|
|
||||||
|
if (descriptor.usedAnnotation) {
|
||||||
|
codegen.context.llvm.usedFunctions.add(llvmFunction)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user