<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/lib/Support/Program.cpp, branch users/nico/python-1</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>[Support] Construct SmallVector with ArrayRef (NFC) (#137586)</title>
<updated>2025-04-29T05:25:17+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2025-04-29T05:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=93145004b4d3bea40485ddf56977c80344c5d687'/>
<id>93145004b4d3bea40485ddf56977c80344c5d687</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reland "[llvm][Support] Add support for executing a detached process (#81708)" (#83367)</title>
<updated>2024-03-07T04:45:11+00:00</updated>
<author>
<name>Connor Sughrue</name>
<email>55301806+cpsughrue@users.noreply.github.com</email>
</author>
<published>2024-03-07T04:45:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2fcf248ec2614dd966f31d471a1a97989a76fd9d'/>
<id>2fcf248ec2614dd966f31d471a1a97989a76fd9d</id>
<content type='text'>
Relands #81708, which was reverted by
f410f74cd5b26319b5796e0404c6a0f3b5cc00a5, now with a corrected unit
test. Origionally the test failed on Windows when run with lit as
`GetConsoleWindow` could not retrieve a window handle regardless of
whether `DetachProcess` was `true` or `false`. The test now uses
`GetStdHandle(STD_OUTPUT_HANDLE)` which does not rely on a console
window existing. Original commit message below.

Adds a new parameter, `bool DetachProcess` with a default option of
`false`, to `llvm::sys::ExecuteNoWait`, which, when set to `true`,
executes the specified program without a controlling terminal.

Functionality added so that the module build daemon can be run without a
controlling terminal.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relands #81708, which was reverted by
f410f74cd5b26319b5796e0404c6a0f3b5cc00a5, now with a corrected unit
test. Origionally the test failed on Windows when run with lit as
`GetConsoleWindow` could not retrieve a window handle regardless of
whether `DetachProcess` was `true` or `false`. The test now uses
`GetStdHandle(STD_OUTPUT_HANDLE)` which does not rely on a console
window existing. Original commit message below.

Adds a new parameter, `bool DetachProcess` with a default option of
`false`, to `llvm::sys::ExecuteNoWait`, which, when set to `true`,
executes the specified program without a controlling terminal.

Functionality added so that the module build daemon can be run without a
controlling terminal.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[llvm][Support] Add support for executing a detached process (#81708)"</title>
<updated>2024-02-27T02:40:21+00:00</updated>
<author>
<name>cpsughrue</name>
<email>cpsughrue@gmail.com</email>
</author>
<published>2024-02-27T02:40:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f410f74cd5b26319b5796e0404c6a0f3b5cc00a5'/>
<id>f410f74cd5b26319b5796e0404c6a0f3b5cc00a5</id>
<content type='text'>
This reverts commit 86f6caa562255f81b93e72a501a926b17f5ad244. Unit test
was failing on a few windows build bots
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 86f6caa562255f81b93e72a501a926b17f5ad244. Unit test
was failing on a few windows build bots
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm][Support] Add support for executing a detached process (#81708)</title>
<updated>2024-02-27T02:04:11+00:00</updated>
<author>
<name>Connor Sughrue</name>
<email>55301806+cpsughrue@users.noreply.github.com</email>
</author>
<published>2024-02-27T02:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=86f6caa562255f81b93e72a501a926b17f5ad244'/>
<id>86f6caa562255f81b93e72a501a926b17f5ad244</id>
<content type='text'>
Adds a new parameter, `bool DetachProcess` with a default option of
`false`, to `llvm::sys::ExecuteNoWait`, which, when set to `true`,
executes the specified program without a controlling terminal.

Functionality added so that the module build daemon can be run without a
controlling terminal.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a new parameter, `bool DetachProcess` with a default option of
`false`, to `llvm::sys::ExecuteNoWait`, which, when set to `true`,
executes the specified program without a controlling terminal.

Functionality added so that the module build daemon can be run without a
controlling terminal.</pre>
</div>
</content>
</entry>
<entry>
<title>Support: Make Wait's SecondsToWait be std::optional [NFC]</title>
<updated>2022-12-14T14:56:10+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2022-11-29T18:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=15a6e3c636977dc962a415c067182e6d57242116'/>
<id>15a6e3c636977dc962a415c067182e6d57242116</id>
<content type='text'>
I found the interaction between SecondsToWait and
WaitUntilChildTerminates confusing. Rather than have a boolean to
ignore the value of SecondsToWait, combine these into one Optional
parameter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I found the interaction between SecondsToWait and
WaitUntilChildTerminates confusing. Rather than have a boolean to
ignore the value of SecondsToWait, combine these into one Optional
parameter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support: Convert Program APIs to std::optional</title>
<updated>2022-12-01T22:00:44+00:00</updated>
<author>
<name>Matt Arsenault</name>
<email>Matthew.Arsenault@amd.com</email>
</author>
<published>2022-12-01T19:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=e748db0f7f0971dc258c6631ae1fb0a38cfdf9dd'/>
<id>e748db0f7f0971dc258c6631ae1fb0a38cfdf9dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Cleanup include: TableGen</title>
<updated>2022-03-11T10:41:32+00:00</updated>
<author>
<name>serge-sans-paille</name>
<email>sguelton@redhat.com</email>
</author>
<published>2022-03-09T21:28:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fbbc41f8dd233f1f0655852ca3e9634b1bb90cf0'/>
<id>fbbc41f8dd233f1f0655852ca3e9634b1bb90cf0</id>
<content type='text'>
This also includes a few cleanup from Support.

Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D121331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also includes a few cleanup from Support.

Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup
Differential Revision: https://reviews.llvm.org/D121331
</pre>
</div>
</content>
</entry>
<entry>
<title>Re-land [Support] On Windows, take the affinity mask into account</title>
<updated>2021-01-14T22:03:22+00:00</updated>
<author>
<name>Alexandre Ganea</name>
<email>alexandre.ganea@ubisoft.com</email>
</author>
<published>2021-01-14T22:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4fcb25583c3ccbe10c4367d02086269e5fa0bb87'/>
<id>4fcb25583c3ccbe10c4367d02086269e5fa0bb87</id>
<content type='text'>
The number of hardware threads available to a ThreadPool can be limited if setting an affinity mask.
For example:

    &gt; start /B /AFFINITY 0xF lld-link.exe ...

Would let LLD only use 4 hyper-threads.

Previously, there was an outstanding issue on Windows Server 2019 on dual-CPU machines, which was preventing from using both CPU sockets. In normal conditions, when no affinity mask was set, ProcessorGroup::AllThreads was different from ProcessorGroup::UsableThreads. The previous code in llvm/lib/Support/Windows/Threading.inc L201 was improperly assuming those two values to be equal, and consequently was limiting the execution to only one CPU socket.

Differential Revision: https://reviews.llvm.org/D92419
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The number of hardware threads available to a ThreadPool can be limited if setting an affinity mask.
For example:

    &gt; start /B /AFFINITY 0xF lld-link.exe ...

Would let LLD only use 4 hyper-threads.

Previously, there was an outstanding issue on Windows Server 2019 on dual-CPU machines, which was preventing from using both CPU sockets. In normal conditions, when no affinity mask was set, ProcessorGroup::AllThreads was different from ProcessorGroup::UsableThreads. The previous code in llvm/lib/Support/Windows/Threading.inc L201 was improperly assuming those two values to be equal, and consequently was limiting the execution to only one CPU socket.

Differential Revision: https://reviews.llvm.org/D92419
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Support] On Windows, take the affinity mask into account"</title>
<updated>2021-01-14T02:34:54+00:00</updated>
<author>
<name>Alexandre Ganea</name>
<email>alexandre.ganea@ubisoft.com</email>
</author>
<published>2021-01-14T02:34:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=eec856848ccc481b2704ebf64d725e635a3d7dca'/>
<id>eec856848ccc481b2704ebf64d725e635a3d7dca</id>
<content type='text'>
This reverts commit 336ab2d51dfdd5ca09c2a9c506453db4fe653584.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 336ab2d51dfdd5ca09c2a9c506453db4fe653584.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Support] On Windows, take the affinity mask into account</title>
<updated>2021-01-14T02:00:09+00:00</updated>
<author>
<name>Alexandre Ganea</name>
<email>alexandre.ganea@ubisoft.com</email>
</author>
<published>2021-01-14T01:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=336ab2d51dfdd5ca09c2a9c506453db4fe653584'/>
<id>336ab2d51dfdd5ca09c2a9c506453db4fe653584</id>
<content type='text'>
The number of hardware threads available to a ThreadPool can be limited if setting an affinity mask.
For example:

&gt; start /B /AFFINITY 0xF lld-link.exe ...

Would let LLD only use 4 hyper-threads.

Previously, there was an outstanding issue on Windows Server 2019 on dual-CPU machines, which was preventing from using both CPU sockets. In normal conditions, when no affinity mask was set, ProcessorGroup::AllThreads was different from ProcessorGroup::UsableThreads. The previous code in llvm/lib/Support/Windows/Threading.inc L201 was improperly assuming those two values to be equal, and consequently was limiting the execution to only one CPU socket.

Differential Revision: https://reviews.llvm.org/D92419
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The number of hardware threads available to a ThreadPool can be limited if setting an affinity mask.
For example:

&gt; start /B /AFFINITY 0xF lld-link.exe ...

Would let LLD only use 4 hyper-threads.

Previously, there was an outstanding issue on Windows Server 2019 on dual-CPU machines, which was preventing from using both CPU sockets. In normal conditions, when no affinity mask was set, ProcessorGroup::AllThreads was different from ProcessorGroup::UsableThreads. The previous code in llvm/lib/Support/Windows/Threading.inc L201 was improperly assuming those two values to be equal, and consequently was limiting the execution to only one CPU socket.

Differential Revision: https://reviews.llvm.org/D92419
</pre>
</div>
</content>
</entry>
</feed>
