[all-commits] [llvm/llvm-project] 3db65d: [MachOYAML] Improve section offset misalignment er...
Michael137 via All-commits
all-commits at lists.llvm.org
Thu Dec 15 14:47:25 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3db65daa4497beea217c2eb9929ed1f49ba8d40e
https://github.com/llvm/llvm-project/commit/3db65daa4497beea217c2eb9929ed1f49ba8d40e
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M llvm/lib/ObjectYAML/MachOEmitter.cpp
M llvm/test/ObjectYAML/MachO/sections.yaml
Log Message:
-----------
[MachOYAML] Improve section offset misalignment error message
Before:
```
wrote too much data somewhere, section offsets don't line up
```
After:
```
wrote too much data somewhere, section offsets in section __debug_str for segment __DWARF don't line up: [cursor=0x581], [fileStart=0x0], [sectionOffset=0x579]
```
Differential Revision: https://reviews.llvm.org/D140116
More information about the All-commits
mailing list