Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm-readelf/readobj] - Fix the behavior when a sections is included…
… in two groups at the same time. The current behavior was introduced by me in D37567 and it is a bit strange. It prints the "Error: ...." message to the errs() manually and stops dumping the group section which has this error. This behavior is consistent with GNU though, but it is very inconsistent with what the regular llvm-readelf code usually does/prints, so I suggest to change the implementation: 1) Instead of printing "Error: ...." to errs() - just report a warning. 2) Try to continue dumping the section. 3) Merge broken-group.test to group.text. This is what this patch does. Differential revision: https://reviews.llvm.org/D84170
- Loading branch information
Georgii Rymar
committed
Jul 22, 2020
1 parent
36f9fe2
commit 066e209
Showing
3 changed files
with
59 additions
and
99 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters