<?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>c2232997 - [lldb] Add a C language REPL to test LLDB&apos;s REPL infrastructure</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/test/API/repl/clang/Makefile#c2232997</link>
        <description>[lldb] Add a C language REPL to test LLDB&apos;s REPL infrastructureLLDB has a bunch of code that implements REPL support, but all that code isunreachable as no language in master currently has an implemented REPL backend.The only REPL that exists is in the downstream Swift fork. All patches for thisgeneric REPL code therefore also only have tests downstream which is clearly nota good situation.This patch implements a basic C language REPL on top of LLDB&apos;s REPL framework.Beside implementing the REPL interface and hooking it up into the pluginmanager, the only other small part of this patch is making the `--language` flagof the expression command compatible with the `--repl` flag. The `--repl` flaguses the value of `--language` to see which REPL should be started, but rightnow the `--language` flag is only available in OptionGroups 1 and 2, but not inOptionGroup 3 where the `--repl` flag is declared.The REPL currently can currently only start if a running target exists. I&apos;ll addthe &apos;create and run a dummy executable&apos; logic from Swift (which is requires whendoing `lldb --repl`) when I have time to translate all this logic to somethingthat will work with Clang.I should point out that the REPL currently uses the C expression parser&apos;sapproach to persistent variables where only result variables and the onesstarting with a &apos;$&apos; are transferred between expressions. I&apos;ll fix that in afollow up patch. Also the REPL currently doesn&apos;t work in a non-interactiveterminal. This seems to be fixed in the Swift fork, so I assume one of our manyREPL downstream changes addresses the issue.Reviewed By: JDevlieghereDifferential Revision: https://reviews.llvm.org/D87281

            List of files:
            /llvm-project-15.0.7/lldb/test/API/repl/clang/Makefile</description>
        <pubDate>Thu, 23 Sep 2021 17:13:50 +0000</pubDate>
        <dc:creator>Raphael Isemann &lt;teemperor@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
