HomePhabricator

[llvm-readobj] - Improve error message reported by DynRegionInfo.

Authored by grimar on Thu, Jan 23, 7:56 AM.

Description

[llvm-readobj] - Improve error message reported by DynRegionInfo.

DynRegionInfo is a helper class used to create memory ranges.
It is used for many things and can report errors.
Errors reported currently do not provide a good diagnostic.
This patch fixes it and adds a test for each possible case.

Differential revision: https://reviews.llvm.org/D73484

Details

Committed
grimarThu, Jan 30, 3:34 AM
Differential Revision
D73484: [llvm-readobj] - Improve error message reported by DynRegionInfo.
Parents
rG4fb1adcde22c: [clangd] Log directory when a CDB is loaded
Branches
Unknown
Tags
Unknown