Skip to content
Unverified Commit 7aa24915 authored by Nuri Amari's avatar Nuri Amari Committed by GitHub
Browse files

[clang] Expand invalid PCM diagnostic (#69489)

Summary:

When a PCM file is loaded, it can go wrong in various ways. The current
diagnostic only produces the name of the malformed PCM, not why it is
malformed. Expand the diagnostic to display what went wrong!

There is only one call site for this diagnostic, and it already passes
the error message:


https://github.com/llvm/llvm-project/blob/main/clang/lib/Serialization/ASTReader.cpp#L4763-L4764



Test Plan:

The modified LIT test.

---------

Co-authored-by: default avatarNuri Amari <nuriamari@fb.com>
parent 5f5faf40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment