<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/Sema/patchable-function-entry-attr.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>[PowerPC] Support `-fpatchable-function-entry` on PPC64LE (#151569)</title>
<updated>2025-09-09T20:43:18+00:00</updated>
<author>
<name>Maryam Moghadas</name>
<email>maryammo@ca.ibm.com</email>
</author>
<published>2025-09-09T20:43:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2bd0d770af5b7cc349209e1c46cced86ecc5a69d'/>
<id>2bd0d770af5b7cc349209e1c46cced86ecc5a69d</id>
<content type='text'>
This patch enables `-fpatchable-function-entry` on PPC64 little-endian
Linux. It is mutually exclusive with existing XRay instrumentation on
this target.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enables `-fpatchable-function-entry` on PPC64 little-endian
Linux. It is mutually exclusive with existing XRay instrumentation on
this target.</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang] include attribute scope in diagnostics (#144619)</title>
<updated>2025-07-08T08:36:52+00:00</updated>
<author>
<name>Oleksandr T.</name>
<email>oleksandr.tarasiuk@outlook.com</email>
</author>
<published>2025-07-08T08:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7'/>
<id>2e8e254d18f51b6ca898bf0b1e4d12109b5b16c7</id>
<content type='text'>
This patch updates diagnostics to print fully qualified attribute names,
including scope when present.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates diagnostics to print fully qualified attribute names,
including scope when present.</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang] show attribute namespace in diagnostics (#138519)</title>
<updated>2025-05-08T21:49:01+00:00</updated>
<author>
<name>Oleksandr T.</name>
<email>oleksandr.tarasiuk@outlook.com</email>
</author>
<published>2025-05-08T21:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=61b435ec4de6b2a4139afce5195a01717436184c'/>
<id>61b435ec4de6b2a4139afce5195a01717436184c</id>
<content type='text'>
This patch enhances Clang's diagnosis of an unknown attribute by
printing the attribute's namespace in the diagnostic text. e.g.,

```cpp
[[foo::nodiscard]] int f(); // warning: unknown attribute 'foo::nodiscard' ignored
```</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch enhances Clang's diagnosis of an unknown attribute by
printing the attribute's namespace in the diagnostic text. e.g.,

```cpp
[[foo::nodiscard]] int f(); // warning: unknown attribute 'foo::nodiscard' ignored
```</pre>
</div>
</content>
</entry>
<entry>
<title>[PowerPC] Support -fpatchable-function-entry (#92997)</title>
<updated>2024-07-22T00:51:51+00:00</updated>
<author>
<name>Chen Zheng</name>
<email>czhengsz@cn.ibm.com</email>
</author>
<published>2024-07-22T00:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=43213002b99e32d618f2afbbaaeb2ff8dfc84e33'/>
<id>43213002b99e32d618f2afbbaaeb2ff8dfc84e33</id>
<content type='text'>
For now only PPC big endian Linux 32 and 64 bit are supported.

PPC little endian Linux has XRAY support for 64-bit.
PPC AIX has different patchable function entry implementations.

Fixes #63220
Fixes #57031</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For now only PPC big endian Linux 32 and 64 bit are supported.

PPC little endian Linux has XRAY support for 64-bit.
PPC AIX has different patchable function entry implementations.

Fixes #63220
Fixes #57031</pre>
</div>
</content>
</entry>
<entry>
<title>[Clang][LoongArch] Implement patchable function entry</title>
<updated>2023-03-16T01:33:58+00:00</updated>
<author>
<name>WANG Xuerui</name>
<email>git@xen0n.name</email>
</author>
<published>2023-03-15T09:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=db5dfec9d4442c360e9712bbd71b3462cac427e9'/>
<id>db5dfec9d4442c360e9712bbd71b3462cac427e9</id>
<content type='text'>
Similar to D98610 for RISCV.

This is going to be required by the upcoming Linux/LoongArch
[[ https://git.kernel.org/linus/4733f09d88074 | support for dynamic ftrace ]].

Reviewed By: SixWeining, MaskRay

Differential Revision: https://reviews.llvm.org/D141785
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to D98610 for RISCV.

This is going to be required by the upcoming Linux/LoongArch
[[ https://git.kernel.org/linus/4733f09d88074 | support for dynamic ftrace ]].

Reviewed By: SixWeining, MaskRay

Differential Revision: https://reviews.llvm.org/D141785
</pre>
</div>
</content>
</entry>
<entry>
<title>[RISCV] Support clang -fpatchable-function-entry &amp;&amp; GNU function attribute 'patchable_function_entry'</title>
<updated>2021-03-16T17:02:35+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2021-03-16T17:02:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6ab8927931851bb42b2c93a00801dc499d7d9b1e'/>
<id>6ab8927931851bb42b2c93a00801dc499d7d9b1e</id>
<content type='text'>
Similar to D72215 (AArch64) and D72220 (x86).

```
% clang -target riscv32 -march=rv64g -c -fpatchable-function-entry=2 a.c &amp;&amp; llvm-objdump -dr a.o
...
0000000000000000 &lt;main&gt;:
       0: 13 00 00 00   nop
       4: 13 00 00 00   nop

% clang -target riscv32 -march=rv64gc -c -fpatchable-function-entry=2 a.c &amp;&amp; llvm-objdump -dr a.o
...
00000002 &lt;main&gt;:
       2: 01 00         nop
       4: 01 00         nop
```

Recently the mainline kernel started to use -fpatchable-function-entry=8 for riscv (https://git.kernel.org/linus/afc76b8b80112189b6f11e67e19cf58301944814).

Differential Revision: https://reviews.llvm.org/D98610
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Similar to D72215 (AArch64) and D72220 (x86).

```
% clang -target riscv32 -march=rv64g -c -fpatchable-function-entry=2 a.c &amp;&amp; llvm-objdump -dr a.o
...
0000000000000000 &lt;main&gt;:
       0: 13 00 00 00   nop
       4: 13 00 00 00   nop

% clang -target riscv32 -march=rv64gc -c -fpatchable-function-entry=2 a.c &amp;&amp; llvm-objdump -dr a.o
...
00000002 &lt;main&gt;:
       2: 01 00         nop
       4: 01 00         nop
```

Recently the mainline kernel started to use -fpatchable-function-entry=8 for riscv (https://git.kernel.org/linus/afc76b8b80112189b6f11e67e19cf58301944814).

Differential Revision: https://reviews.llvm.org/D98610
</pre>
</div>
</content>
</entry>
<entry>
<title>[Sema] Allow function attribute patchable_function_entry on aarch64_be</title>
<updated>2020-05-06T17:10:25+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2020-05-06T15:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=57a1c1be53aeea521747dd2f4b0097831341bea5'/>
<id>57a1c1be53aeea521747dd2f4b0097831341bea5</id>
<content type='text'>
Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D79495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D79495
</pre>
</div>
</content>
</entry>
<entry>
<title>Support function attribute patchable_function_entry</title>
<updated>2020-01-10T17:57:34+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2020-01-04T23:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a44c434b68e515ce9f2627367c83ff6b22328261'/>
<id>a44c434b68e515ce9f2627367c83ff6b22328261</id>
<content type='text'>
This feature is generic. Make it applicable for AArch64 and X86 because
the backend has only implemented NOP insertion for AArch64 and X86.

Reviewed By: nickdesaulniers, aaron.ballman

Differential Revision: https://reviews.llvm.org/D72221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature is generic. Make it applicable for AArch64 and X86 because
the backend has only implemented NOP insertion for AArch64 and X86.

Reviewed By: nickdesaulniers, aaron.ballman

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