diff options
author | Nuri Amari <nuriamari@meta.com> | 2023-10-18 16:19:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-18 16:19:54 -0700 |
commit | 7aa24915cb66c51bab7c15854877136930d3ed17 (patch) | |
tree | 0dec52856d7acac0cf43e95a0e5f29467286d7e9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 5f5faf407b42342708ce31a1ca3095ddff10dad8 (diff) | |
download | llvm-7aa24915cb66c51bab7c15854877136930d3ed17.zip llvm-7aa24915cb66c51bab7c15854877136930d3ed17.tar.gz llvm-7aa24915cb66c51bab7c15854877136930d3ed17.tar.bz2 |
[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: Nuri Amari <nuriamari@fb.com>
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions