<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/ObjectYAML/MachOEmitter.cpp, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Implement a more seamless way to provide missing functions on z/OS (#167703)</title>
<updated>2025-11-18T20:58:39+00:00</updated>
<author>
<name>Sean Perry</name>
<email>perry@ca.ibm.com</email>
</author>
<published>2025-11-18T20:58:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8fce476c81225c5e74866020eff5cba81a272b33'/>
<id>8fce476c81225c5e74866020eff5cba81a272b33</id>
<content type='text'>
In this PR I'm changing the way we provide the missing functions like
strnlen() on z/OS from the separate header file to a wrapper around the
system headers that declare these functions. This will be less
intrusive.

---------

Co-authored-by: Zibi Sarbinowski &lt;zibi@ca.ibm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this PR I'm changing the way we provide the missing functions like
strnlen() on z/OS from the separate header file to a wrapper around the
system headers that declare these functions. This will be less
intrusive.

---------

Co-authored-by: Zibi Sarbinowski &lt;zibi@ca.ibm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title> [yaml2obj][MachO] Fix crash from integer underflow with invalid cmdsize (#165924)</title>
<updated>2025-11-13T09:31:37+00:00</updated>
<author>
<name>Ryan Mansfield</name>
<email>ryan_mansfield@apple.com</email>
</author>
<published>2025-11-13T09:31:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=295a3f725153cb1e8e0b257c6409d2e12b904d0e'/>
<id>295a3f725153cb1e8e0b257c6409d2e12b904d0e</id>
<content type='text'>
yaml2obj would crash when processing Mach-O load commands with cmdsize
smaller than the actual structure size e.g. LC_SEGMENT_64 with
cmdsize=56 instead of 72. The crash occurred due to integer underflow
when calculating padding: cmdsize - BytesWritten wraps to a large value
when negative, causing a massive allocation attempt.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
yaml2obj would crash when processing Mach-O load commands with cmdsize
smaller than the actual structure size e.g. LC_SEGMENT_64 with
cmdsize=56 instead of 72. The crash occurred due to integer underflow
when calculating padding: cmdsize - BytesWritten wraps to a large value
when negative, causing a massive allocation attempt.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] add back headers needed for strnlen, autoconversion</title>
<updated>2025-06-06T13:45:06+00:00</updated>
<author>
<name>Abhina Sreeskantharajan</name>
<email>Abhina.Sreeskantharajan@ibm.com</email>
</author>
<published>2025-06-06T13:45:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6a4b89055b0711fd7a98a2c6dddc456495b32b22'/>
<id>6a4b89055b0711fd7a98a2c6dddc456495b32b22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] Remove unused includes (NFC) (#142733)</title>
<updated>2025-06-04T19:30:52+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-06-04T19:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=228f66807d0be1d7873e075fc81baf41001950b5'/>
<id>228f66807d0be1d7873e075fc81baf41001950b5</id>
<content type='text'>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are identified by misc-include-cleaner.  I've filtered out those
that break builds.  Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-specific build failures.</pre>
</div>
</content>
</entry>
<entry>
<title>[ObjectYAML] Remove unused includes (NFC) (#116530)</title>
<updated>2024-11-17T16:39:04+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2024-11-17T16:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5b7102d1f37eab7a8f17b7bf4124ca76fbdbd66d'/>
<id>5b7102d1f37eab7a8f17b7bf4124ca76fbdbd66d</id>
<content type='text'>
Identified with misc-include-cleaner.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Identified with misc-include-cleaner.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] Add missing strnlen function for z/OS to fix build failures (#75339)</title>
<updated>2023-12-13T18:13:53+00:00</updated>
<author>
<name>Abhina Sree</name>
<email>69635948+abhina-sree@users.noreply.github.com</email>
</author>
<published>2023-12-13T18:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2'/>
<id>ec41462d7a7d2fcd74dcf1c60218f134fcfd55b2</id>
<content type='text'>
This patch adds strnlen to the zOSSupport.h file to fix build failures in multiple files.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds strnlen to the zOSSupport.h file to fix build failures in multiple files.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Use const references to avoid copying objects in for-loops</title>
<updated>2023-09-27T20:39:30+00:00</updated>
<author>
<name>Gregory Alfonso</name>
<email>gfunni234@gmail.com</email>
</author>
<published>2023-09-27T20:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=40dc8e6889c055172dfa66823b3e0aa073240086'/>
<id>40dc8e6889c055172dfa66823b3e0aa073240086</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D139487
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Differential Revision: https://reviews.llvm.org/D139487
</pre>
</div>
</content>
</entry>
<entry>
<title>use ref to avoid copy in range for-loop</title>
<updated>2023-05-29T02:24:21+00:00</updated>
<author>
<name>Wang, Xin10</name>
<email>xin10.wang@intel.com</email>
</author>
<published>2023-05-29T02:23:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fbb241c5523c07842af6cbe7a3a5a1c6513f1302'/>
<id>fbb241c5523c07842af6cbe7a3a5a1c6513f1302</id>
<content type='text'>
Use big obj copy in range for-loop will call copy constructor every time,
which can be avoided by use ref instead.

Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D150024
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use big obj copy in range for-loop will call copy constructor every time,
which can be avoided by use ref instead.

Reviewed By: skan

Differential Revision: https://reviews.llvm.org/D150024
</pre>
</div>
</content>
</entry>
<entry>
<title>[Coverity] Big parameter passed by value.</title>
<updated>2023-05-05T01:50:38+00:00</updated>
<author>
<name>Luo, Yuanke</name>
<email>yuanke.luo@intel.com</email>
</author>
<published>2023-05-05T01:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ae1ca47bb4456c97e112b10364c65102ffe31cd0'/>
<id>ae1ca47bb4456c97e112b10364c65102ffe31cd0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[MachOYAML] Improve section offset misalignment error message</title>
<updated>2022-12-15T22:46:43+00:00</updated>
<author>
<name>Michael Buch</name>
<email>michaelbuch12@gmail.com</email>
</author>
<published>2022-12-15T17:57:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3db65daa4497beea217c2eb9929ed1f49ba8d40e'/>
<id>3db65daa4497beea217c2eb9929ed1f49ba8d40e</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
