[llvm] [MachO] Replace getStruct with getStructOrErr (PR #95810)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 01:05:10 PDT 2024


================
@@ -372,7 +372,7 @@ Error MachOWriter::writeSectionData(raw_ostream &OS) {
 
 // The implementation of makeRelocationInfo and makeScatteredRelocationInfo is
 // consistent with how libObject parses MachO binary files. For the reference
----------------
jh7370 wrote:

```suggestion
// consistent with how libObject parses MachO binary files. For reference
```
If you don't mind, please fix this comment as highlighted as part of this PR, since you're already modifying the comment.

https://github.com/llvm/llvm-project/pull/95810


More information about the llvm-commits mailing list