Prints locations for (most of) errors raised in Target.cpp file.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Event Timeline
| ELF/Writer.cpp | ||
|---|---|---|
| 1559 ↗ | (On Diff #79221) | I think we should make OutputSections global, instead of doing a plumbing work to propagate information from Target to Writer.  | 
| ELF/Writer.cpp | ||
|---|---|---|
| 1559 ↗ | (On Diff #79221) | How about Buffer pointer? It isn't stored in OutputSection<ELFT>.  | 
| ELF/Writer.cpp | ||
|---|---|---|
| 1559 ↗ | (On Diff #79221) | Interesting idea. Not sure if that's actually good at the moment, but it's worth a try.  | 
| ELF/Target.cpp | ||
|---|---|---|
| 61 ↗ | (On Diff #79284) | I don't think we need a new error-ish function here. I'd define a function that returns the output location info as a string, then I could write like this. error(getErrorLoc(Loc) + ": relocation " + toString(Type) + " out of range");  | 
| 813 ↗ | (On Diff #79284) | Then this can be fatal(getErrorLoc(Loc) + ": unrecognized reloc " + Twine(Type));  | 
| ELF/Writer.cpp | ||
| 1560–1561 ↗ | (On Diff #79284) | Just return the return value of getLocation().  |