<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Demangle, branch users/mingmingl-llvm/annotator-backup</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>[PAC] Add support for __ptrauth type qualifier (#100830)</title>
<updated>2025-04-15T19:54:25+00:00</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanak@gmail.com</email>
</author>
<published>2025-04-15T19:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a3283a92aea147e89d9d404fa7c8500223c7c22a'/>
<id>a3283a92aea147e89d9d404fa7c8500223c7c22a</id>
<content type='text'>
The qualifier allows programmer to directly control how pointers are
signed when they are stored in a particular variable.

The qualifier takes three arguments: the signing key, a flag specifying
whether address discrimination should be used, and a non-negative
integer that is used for additional discrimination.

```
typedef void (*my_callback)(const void*);
my_callback __ptrauth(ptrauth_key_process_dependent_code, 1, 0xe27a) callback;
```

Co-Authored-By: John McCall rjmccall@apple.com</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The qualifier allows programmer to directly control how pointers are
signed when they are stored in a particular variable.

The qualifier takes three arguments: the signing key, a flag specifying
whether address discrimination should be used, and a non-negative
integer that is used for additional discrimination.

```
typedef void (*my_callback)(const void*);
my_callback __ptrauth(ptrauth_key_process_dependent_code, 1, 0xe27a) callback;
```

Co-Authored-By: John McCall rjmccall@apple.com</pre>
</div>
</content>
</entry>
<entry>
<title>[LLVM][Demangle] Fix MS Demangler to be stricter about wide string literals (#134483)</title>
<updated>2025-04-07T20:18:53+00:00</updated>
<author>
<name>Shafik Yaghmour</name>
<email>shafik.yaghmour@intel.com</email>
</author>
<published>2025-04-07T20:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7'/>
<id>d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7</id>
<content type='text'>
Static analysis detected that Demangler::demangleStringLiteral had a
potential overflow if not checking StringByteSize properly.

Added check to ensure that for wide string it is always even and that
there were the byte count did not mismatch the actual size of the
literal.

Fixes: https://github.com/llvm/llvm-project/issues/129970</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Static analysis detected that Demangler::demangleStringLiteral had a
potential overflow if not checking StringByteSize properly.

Added check to ensure that for wide string it is always even and that
there were the byte count did not mismatch the actual size of the
literal.

Fixes: https://github.com/llvm/llvm-project/issues/129970</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Renormalize line endings whitespace only after dccebddb3b80"</title>
<updated>2024-10-18T20:16:50+00:00</updated>
<author>
<name>Luke Drummond</name>
<email>luke.drummond@codeplay.com</email>
</author>
<published>2024-10-18T20:16:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b55c52c047a167f42abbde9a33356cfb96b82c7f'/>
<id>b55c52c047a167f42abbde9a33356cfb96b82c7f</id>
<content type='text'>
This reverts commit 9d98acb196a40fee5229afeb08f95fd36d41c10a.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 9d98acb196a40fee5229afeb08f95fd36d41c10a.
</pre>
</div>
</content>
</entry>
<entry>
<title>Renormalize line endings whitespace only after dccebddb3b80</title>
<updated>2024-10-17T13:49:26+00:00</updated>
<author>
<name>Luke Drummond</name>
<email>luke.drummond@codeplay.com</email>
</author>
<published>2024-10-17T13:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9d98acb196a40fee5229afeb08f95fd36d41c10a'/>
<id>9d98acb196a40fee5229afeb08f95fd36d41c10a</id>
<content type='text'>
Line ending policies were changed in the parent, dccebddb3b80. To make
it easier to resolve downstream merge conflicts after line-ending
policies are adjusted this is a separate whitespace-only commit. If you
have merge conflicts as a result, you can simply `git add --renormalize
-u &amp;&amp; git merge --continue` or `git add --renormalize -u &amp;&amp; git rebase
--continue` - depending on your workflow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Line ending policies were changed in the parent, dccebddb3b80. To make
it easier to resolve downstream merge conflicts after line-ending
policies are adjusted this is a separate whitespace-only commit. If you
have merge conflicts as a result, you can simply `git add --renormalize
-u &amp;&amp; git merge --continue` or `git add --renormalize -u &amp;&amp; git rebase
--continue` - depending on your workflow.
</pre>
</div>
</content>
</entry>
<entry>
<title>[llvm] [Demangle] Fix MSVC demangling for placeholder return types (#106178)</title>
<updated>2024-09-18T03:05:44+00:00</updated>
<author>
<name>Max Winkler</name>
<email>max.enrico.winkler@gmail.com</email>
</author>
<published>2024-09-18T03:05:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=8280651ad57cb9fb24a404cec2401040c28dec98'/>
<id>8280651ad57cb9fb24a404cec2401040c28dec98</id>
<content type='text'>
Properly demangle `_T` and `_P` return type manglings for MSVC 1920+.
Also added a unit test for `@` return type that is used when mangling
non-template auto placeholder return type function.

Tested the output against the undname shipped with MSVC 19.40.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Properly demangle `_T` and `_P` return type manglings for MSVC 1920+.
Also added a unit test for `@` return type that is used when mangling
non-template auto placeholder return type function.

Tested the output against the undname shipped with MSVC 19.40.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix MSVC 1920+ auto NTTP mangling for pointers to members (#97007)</title>
<updated>2024-07-04T17:17:32+00:00</updated>
<author>
<name>Max Winkler</name>
<email>max.enrico.winkler@gmail.com</email>
</author>
<published>2024-07-04T17:17:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d1dc4169838381688a74f245cdaedbe9fce13848'/>
<id>d1dc4169838381688a74f245cdaedbe9fce13848</id>
<content type='text'>
Fixes https://github.com/llvm/llvm-project/issues/70899.

This is a continuation of
https://github.com/llvm/llvm-project/pull/92477 for pointers to member
data and pointers to member functions.

The mangled name must be prefixed with `$M &lt;mangled-type&gt;` for the
deduced type of the nttp parameter.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/llvm/llvm-project/issues/70899.

This is a continuation of
https://github.com/llvm/llvm-project/pull/92477 for pointers to member
data and pointers to member functions.

The mangled name must be prefixed with `$M &lt;mangled-type&gt;` for the
deduced type of the nttp parameter.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix MSVC Demangling with auto NTTP mangled names for function pointer, pointer to data and integral types (#96590)</title>
<updated>2024-06-27T05:24:28+00:00</updated>
<author>
<name>Max Winkler</name>
<email>max.enrico.winkler@gmail.com</email>
</author>
<published>2024-06-27T05:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a'/>
<id>ef067cf4b6d46cd48d2ed5cfe2300fe83b6bcc8a</id>
<content type='text'>
As cited here, https://github.com/llvm/llvm-project/pull/92477, undname
needs updating to support the new auto NTTP name mangling.

In short the deduced type of the auto NTTP parameter is mangled as `$M
&lt;type&gt; &lt;nttp-param&gt;`. However the deduced type is not printed for the
undecorated name so the `$M &lt;type&gt;` is parsed but simply ignored when
stringifying the generated AST.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As cited here, https://github.com/llvm/llvm-project/pull/92477, undname
needs updating to support the new auto NTTP name mangling.

In short the deduced type of the auto NTTP parameter is mangled as `$M
&lt;type&gt; &lt;nttp-param&gt;`. However the deduced type is not printed for the
undecorated name so the `$M &lt;type&gt;` is parsed but simply ignored when
stringifying the generated AST.</pre>
</div>
</content>
</entry>
<entry>
<title>[test] Convert text files from CRLF to LF</title>
<updated>2024-05-03T17:09:52+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>i@maskray.me</email>
</author>
<published>2024-05-03T17:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b9ae06ba15936c9802d5668cea260ad36a243a10'/>
<id>b9ae06ba15936c9802d5668cea260ad36a243a10</id>
<content type='text'>
Skip *.pdb, *.rc, *crlf*, and FileCheck/dos-style-eol.txt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip *.pdb, *.rc, *crlf*, and FileCheck/dos-style-eol.txt
</pre>
</div>
</content>
</entry>
<entry>
<title>[MicrosoftDemangle] fix warn-trailing false positive</title>
<updated>2023-07-11T16:25:52+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>ndesaulniers@google.com</email>
</author>
<published>2023-07-11T16:23:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6641d2b7df35b99b3c0dedcf0ae4be7befbf3236'/>
<id>6641d2b7df35b99b3c0dedcf0ae4be7befbf3236</id>
<content type='text'>
A follow up to commit 6bad76c7ae93 ("[Demangle] fix windows tests")
based on @thakis' report.

Fixes: #63740

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D154875
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A follow up to commit 6bad76c7ae93 ("[Demangle] fix windows tests")
based on @thakis' report.

Fixes: #63740

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D154875
</pre>
</div>
</content>
</entry>
<entry>
<title>[Demangle] Add minimal support for D programming language</title>
<updated>2021-11-09T17:29:13+00:00</updated>
<author>
<name>Luís Ferreira</name>
<email>contact@lsferreira.net</email>
</author>
<published>2021-11-09T17:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=22a1aa5a43cbdaf9dde014ba1f120e0f7ca1788b'/>
<id>22a1aa5a43cbdaf9dde014ba1f120e0f7ca1788b</id>
<content type='text'>
This patch adds minimal support for D programming language demangling on LLVM
core based on the D name mangling spec. This will allow easier integration on a
future LLDB plugin for D either in the upstream tree or outside of it.

Minimal support includes recognizing D demangling encoding and at least one
mangling name, which in this case is `_Dmain` mangle.

Reviewed By: jhenderson, lattner

Differential Revision: https://reviews.llvm.org/D111414
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds minimal support for D programming language demangling on LLVM
core based on the D name mangling spec. This will allow easier integration on a
future LLDB plugin for D either in the upstream tree or outside of it.

Minimal support includes recognizing D demangling encoding and at least one
mangling name, which in this case is `_Dmain` mangle.

Reviewed By: jhenderson, lattner

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