Do xref analysis even if compilation fails
Remove all xref errors when analysis result is empty