[PL] Log partial linkage messages at different severity

As specified in -Xpartial-linkage-loglevel CLI argument.
This commit is contained in:
Dmitriy Dolovov
2023-03-20 14:10:01 +01:00
committed by Space Team
parent d738646a61
commit 1fef48bb60
17 changed files with 79 additions and 64 deletions
@@ -16,7 +16,7 @@ interface PartialLinkageSupportForLowerings {
partialLinkageCase: PartialLinkageCase,
element: IrElement,
file: PLFile,
suppressWarningInCompilerOutput: Boolean
doNotLog: Boolean = false
): IrCall
companion object {
@@ -26,7 +26,7 @@ interface PartialLinkageSupportForLowerings {
partialLinkageCase: PartialLinkageCase,
element: IrElement,
file: PLFile,
suppressWarningInCompilerOutput: Boolean
doNotLog: Boolean
): IrCall = error("Should not be called")
}
}