[clang] [llvm] [InstallAPI] Add support for parsing dSYMs (PR #86852)
Juergen Ributzka via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 27 14:49:06 PDT 2024
================
@@ -511,14 +520,16 @@ DylibVerifier::Result DylibVerifier::verify(GlobalRecord *R,
return verifyImpl(R, SymCtx);
}
-void DylibVerifier::VerifierContext::emitDiag(
- llvm::function_ref<void()> Report) {
+void DylibVerifier::VerifierContext::emitDiag(llvm::function_ref<void()> Report,
+ RecordLoc *Loc) {
if (!DiscoveredFirstError) {
Diag->Report(diag::warn_target)
<< (PrintArch ? getArchitectureName(Target.Arch)
: getTargetTripleName(Target));
DiscoveredFirstError = true;
}
+ if (Loc && Loc->isValid())
+ llvm::errs() << Loc->File << ":" << Loc->Line << ":" << 0 << ": ";
----------------
ributzka wrote:
There is only the line information available?
https://github.com/llvm/llvm-project/pull/86852
More information about the cfe-commits
mailing list