<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in attr-retain.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>532dc62b - [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp#532dc62b</link>
        <description>[OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)This adds -no-opaque-pointers to clang tests whose output willchange when opaque pointers are enabled by default. This isintended to be part of the migration approach described inhttps://discourse.llvm.org/t/enabling-opaque-pointers-by-default/61322/9.The patch has been produced by replacing %clang_cc1 with%clang_cc1 -no-opaque-pointers for tests that fail with opaquepointers enabled. Worth noting that this doesn&apos;t cover all tests,there&apos;s a remaining ~40 tests not using %clang_cc1 that will needa followup change.Differential Revision: https://reviews.llvm.org/D123115

            List of files:
            /llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp</description>
        <pubDate>Thu, 07 Apr 2022 10:03:55 +0000</pubDate>
        <dc:creator>Nikita Popov &lt;npopov@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>2e2ee430 - [test] Add -triple x86_64 to attr-retain.cpp</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp#2e2ee430</link>
        <description>[test] Add -triple x86_64 to attr-retain.cpp

            List of files:
            /llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp</description>
        <pubDate>Sat, 27 Feb 2021 03:35:53 +0000</pubDate>
        <dc:creator>Fangrui Song &lt;i@maskray.me&gt;</dc:creator>
    </item>
<item>
        <title>8afdacba - Add GNU attribute &apos;retain&apos;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp#8afdacba</link>
        <description>Add GNU attribute &apos;retain&apos;For ELF targets, GCC 11 will set SHF_GNU_RETAIN on the section of a`__attribute__((retain))` function/variable to prevent linker garbagecollection. (See AttrDocs.td for the linker support).This patch adds `retain` functions/variables to the `llvm.used` list, which hasthe desired linker GC semantics. Note: `retain` does not imply `used`,so an unused function/variable can be dropped by Sema.Before &apos;retain&apos; was introduced, previous ELF solutions require inline asm orlinker tricks, e.g.  `asm volatile(&quot;.reloc 0, R_X86_64_NONE, target&quot;);`(architecture dependent) or define a non-local symbol in the section and use`ld -u`. There was no elegant source-level solution.With D97448, `__attribute__((retain))` will set `SHF_GNU_RETAIN` on ELF targets.Differential Revision: https://reviews.llvm.org/D97447

            List of files:
            /llvm-project-15.0.7/clang/test/CodeGenCXX/attr-retain.cpp</description>
        <pubDate>Fri, 26 Feb 2021 19:59:53 +0000</pubDate>
        <dc:creator>Fangrui Song &lt;i@maskray.me&gt;</dc:creator>
    </item>
</channel>
</rss>
