Add the names of the input files responsible for each error to the
messages.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lld/wasm/Writer.cpp | ||
|---|---|---|
| 379 ↗ | (On Diff #202301) | That's correct. I figured that printing all relevant files could get overwhelming rather quickly and that even when it would be reasonable, we still get 80% of the benefit by printing just one file. |
| 419 ↗ | (On Diff #202301) | Switched, and also above. I'm always wary about StringRef because I've been burned by it not owning its contents one too many times. I assume when it is used to insert something into a StringMap the string value is copied, so it should be ok here. |