<?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 Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>95860828 - [lldb] Allow LLDB to automatically retry a failed expression with an imported std C++ module</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/Makefile#95860828</link>
        <description>[lldb] Allow LLDB to automatically retry a failed expression with an imported std C++ moduleBy now LLDB can import the &apos;std&apos; C++ module to improve expression evaluation,but there are still a few problems to solve before we can do this by default.One is that importing the C++ module is slightly slower than normal expressionevaluation (mostly because the disk access and loading the initial lookup datais quite slow in comparison to the barebone Clang setup the rest of the LLDBexpression evaluator is usually doing). Another problem is that some complicatedtypes in the standard library aren&apos;t fully supported yet by the ASTImporter, sowe end up types that fail to import (which usually appears to the user as if thetype is empty or there is just no result variable).To still allow people to adopt this mode in their daily debugging, this patchadds a setting that allows LLDB to automatically retry failed expression with aloaded C++ module. All success expressions will behave exactly as they would dobefore this patch. Failed expressions get a another parse attempt if we find ausable C++ module in the current execution context. This way we shouldn&apos;t haveany performance/parsing regressions in normal debugging workflows, while thedebugging workflows involving STL containers benefit from the C++ module typeinfo.This setting is off by default for now with the intention to enable it bydefault on macOS soon-ish.The implementation is mostly just extracting the existing parse logic into itsown function and then calling the parse function again if the first evaluationfailed and we have a C++ module to retry the parsing with.Reviewed By: shafik, JDevlieghere, aprantlDifferential Revision: https://reviews.llvm.org/D92784

            List of files:
            /llvm-project-15.0.7/lldb/test/API/commands/expression/import-std-module/retry-with-std-module/Makefile</description>
        <pubDate>Thu, 10 Dec 2020 09:09:06 +0000</pubDate>
        <dc:creator>Raphael Isemann &lt;teemperor@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
