<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/lib/CodeGen/CodeGenModule.cpp, branch users/vitalybuka/spr/main.asan-install-pthread_atfork</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>[clang] Use StringRef::{starts,ends}_with (NFC) (#75149)</title>
<updated>2023-12-13T16:54:13+00:00</updated>
<author>
<name>Kazu Hirata</name>
<email>kazu@google.com</email>
</author>
<published>2023-12-13T16:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f3dcc2351cff7b26c9870d737e5d431551542d9e'/>
<id>f3dcc2351cff7b26c9870d737e5d431551542d9e</id>
<content type='text'>
This patch replaces uses of StringRef::{starts,ends}with with
StringRef::{starts,ends}_with for consistency with
std::{string,string_view}::{starts,ends}_with in C++20.

I'm planning to deprecate and eventually remove
StringRef::{starts,ends}with.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch replaces uses of StringRef::{starts,ends}with with
StringRef::{starts,ends}_with for consistency with
std::{string,string_view}::{starts,ends}_with in C++20.

I'm planning to deprecate and eventually remove
StringRef::{starts,ends}with.</pre>
</div>
</content>
</entry>
<entry>
<title>[NFC] Remove unneeded nullptr checks after cast&lt;&gt; (#74674)</title>
<updated>2023-12-08T00:20:22+00:00</updated>
<author>
<name>Mike Rice</name>
<email>michael.p.rice@intel.com</email>
</author>
<published>2023-12-08T00:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65'/>
<id>0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65</id>
<content type='text'>
Since VD is assigned from a cast&lt;VarDecl&gt; it cannot be a nullptr or it
would have asserted. Remove the subsequent checks to clear up any
misunderstanding.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since VD is assigned from a cast&lt;VarDecl&gt; it cannot be a nullptr or it
would have asserted. Remove the subsequent checks to clear up any
misunderstanding.</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang]  Fix linker error for function multiversioning (#71706)</title>
<updated>2023-12-05T23:11:53+00:00</updated>
<author>
<name>elizabethandrews</name>
<email>elizabeth.andrews@intel.com</email>
</author>
<published>2023-12-05T23:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=cee5b8777fa98312b05bf8aa81554910a8f867c5'/>
<id>cee5b8777fa98312b05bf8aa81554910a8f867c5</id>
<content type='text'>
Currently target_clones attribute results in a linker error when there
are no multi-versioned function declarations in the calling TU.

In the calling TU, the call is generated with the ‘normal’ assembly
name. This does not match any of the versions or the ifunc, since
version mangling includes a .versionstring, and the ifunc includes
.ifunc suffix. The linker error is not seen with GCC since the mangling
for the ifunc symbol in GCC is the ‘normal’ assembly name for function
i.e. no ifunc suffix.

This PR removes the .ifunc suffix to match GCC. It also adds alias with
the .ifunc suffix so as to ensure backward compatibility.

The changes exclude aarch64 target because the mangling for default
versions on aarch64 does not include a .default suffix and is the
'normal' assembly name, unlike other targets. It is not clear to me what
the correct behavior for this target is.

Old Phabricator review - https://reviews.llvm.org/D158666

---------

Co-authored-by: Tom Honermann &lt;tom@honermann.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently target_clones attribute results in a linker error when there
are no multi-versioned function declarations in the calling TU.

In the calling TU, the call is generated with the ‘normal’ assembly
name. This does not match any of the versions or the ifunc, since
version mangling includes a .versionstring, and the ifunc includes
.ifunc suffix. The linker error is not seen with GCC since the mangling
for the ifunc symbol in GCC is the ‘normal’ assembly name for function
i.e. no ifunc suffix.

This PR removes the .ifunc suffix to match GCC. It also adds alias with
the .ifunc suffix so as to ensure backward compatibility.

The changes exclude aarch64 target because the mangling for default
versions on aarch64 does not include a .default suffix and is the
'normal' assembly name, unlike other targets. It is not clear to me what
the correct behavior for this target is.

Old Phabricator review - https://reviews.llvm.org/D158666

---------

Co-authored-by: Tom Honermann &lt;tom@honermann.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][AArch64] Pass down stack clash protection options to LLVM/Backend (#68993)</title>
<updated>2023-11-30T11:18:02+00:00</updated>
<author>
<name>Momchil Velikov</name>
<email>momchil.velikov@arm.com</email>
</author>
<published>2023-11-30T11:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=092507a730fa4fad6dbe544cd139cfb7e8179aa4'/>
<id>092507a730fa4fad6dbe544cd139cfb7e8179aa4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[clang][CodeGen] Emit annotations for function declarations. (#66716)</title>
<updated>2023-11-29T23:13:30+00:00</updated>
<author>
<name>Brendan Dahl</name>
<email>brendan.dahl@gmail.com</email>
</author>
<published>2023-11-29T23:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c6d70722b49db01914d5f64cc86ea5ed609ad9fd'/>
<id>c6d70722b49db01914d5f64cc86ea5ed609ad9fd</id>
<content type='text'>
Previously, annotations were only emitted for function definitions. With
this change annotations are also emitted for declarations. Also,
emitting function annotations is now deferred until the end so that the
most up to date declaration is used which will have any inherited
annotations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, annotations were only emitted for function definitions. With
this change annotations are also emitted for declarations. Also,
emitting function annotations is now deferred until the end so that the
most up to date declaration is used which will have any inherited
annotations.</pre>
</div>
</content>
</entry>
<entry>
<title>[Flang] Add code-object-version option (#72638)</title>
<updated>2023-11-29T09:01:01+00:00</updated>
<author>
<name>Dominik Adamski</name>
<email>dominik.adamski@amd.com</email>
</author>
<published>2023-11-28T18:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=95943d2fab7e6f8dcea216df2d56a0512201b467'/>
<id>95943d2fab7e6f8dcea216df2d56a0512201b467</id>
<content type='text'>
Information about code object version can be configured by the user for
AMD GPU target and it needs to be placed in LLVM IR generated by Flang.

Information about code object version in MLIR generated by the parser
can be reused by other tools. There is no need to specify extra flags if
we want to invoke MLIR tools (like fir-opt) separately.

Changes in comparison to a8ac93:
 * added information about required targets for test
   flang/test/Driver/driver-help.f90
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Information about code object version can be configured by the user for
AMD GPU target and it needs to be placed in LLVM IR generated by Flang.

Information about code object version in MLIR generated by the parser
can be reused by other tools. There is no need to specify extra flags if
we want to invoke MLIR tools (like fir-opt) separately.

Changes in comparison to a8ac93:
 * added information about required targets for test
   flang/test/Driver/driver-help.f90
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Flang] Add code-object-version option (#72638)"</title>
<updated>2023-11-28T19:18:46+00:00</updated>
<author>
<name>Dominik Adamski</name>
<email>dominik.adamski@amd.com</email>
</author>
<published>2023-11-28T19:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f00ffcdb58d6db902a8f86b0ce83a03874d113ad'/>
<id>f00ffcdb58d6db902a8f86b0ce83a03874d113ad</id>
<content type='text'>
This commit causes test errors on buildbots.

This reverts commit a8ac930b99d93b2a539ada7e566993d148899144.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit causes test errors on buildbots.

This reverts commit a8ac930b99d93b2a539ada7e566993d148899144.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Flang] Add code-object-version option (#72638)</title>
<updated>2023-11-28T18:57:36+00:00</updated>
<author>
<name>Dominik Adamski</name>
<email>dominik.adamski@amd.com</email>
</author>
<published>2023-11-28T18:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a8ac930b99d93b2a539ada7e566993d148899144'/>
<id>a8ac930b99d93b2a539ada7e566993d148899144</id>
<content type='text'>
Information about code object version can be configured by the user for
AMD GPU target and it needs to be placed in LLVM IR generated by Flang.

Information about code object version in MLIR generated by the parser
can be reused by other tools. There is no need to specify extra flags if
we want to invoke MLIR tools (like fir-opt) separately.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Information about code object version can be configured by the user for
AMD GPU target and it needs to be placed in LLVM IR generated by Flang.

Information about code object version in MLIR generated by the parser
can be reused by other tools. There is no need to specify extra flags if
we want to invoke MLIR tools (like fir-opt) separately.</pre>
</div>
</content>
</entry>
<entry>
<title>[SystemZ][z/OS] This change adds support for the PPA2 section in zOS (#68926)</title>
<updated>2023-11-27T21:30:12+00:00</updated>
<author>
<name>Yusra Syeda</name>
<email>99052248+ysyeda@users.noreply.github.com</email>
</author>
<published>2023-11-27T21:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9a38a72f1d482ce3e1ecd30550d78484debd69ae'/>
<id>9a38a72f1d482ce3e1ecd30550d78484debd69ae</id>
<content type='text'>
This PR adds support for the PPA2 fields.

---------

Co-authored-by: Yusra Syeda &lt;yusra.syeda@ibm.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This PR adds support for the PPA2 fields.

---------

Co-authored-by: Yusra Syeda &lt;yusra.syeda@ibm.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[CodeGenModule] Remove no-op ptr-to-ptr bitcasts (NFC)</title>
<updated>2023-11-20T22:21:21+00:00</updated>
<author>
<name>Youngsuk Kim</name>
<email>youngsuk.kim@hpe.com</email>
</author>
<published>2023-11-20T22:07:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ed73121ffeb636e75162f116bfeca56e7ec310de'/>
<id>ed73121ffeb636e75162f116bfeca56e7ec310de</id>
<content type='text'>
Opaque ptr cleanup effort (NFC)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Opaque ptr cleanup effort (NFC)
</pre>
</div>
</content>
</entry>
</feed>
