<?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>2c4226f8 - [lldb-server][linux] Add ability to allocate memory</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/test/API/tools/lldb-server/memory-allocation/Makefile#2c4226f8</link>
        <description>[lldb-server][linux] Add ability to allocate memoryThis patch adds support for the _M and _m gdb-remote packets, which(de)allocate memory in the inferior. This works by &quot;injecting&quot; am(un)map syscall into the inferior. This consists of:- finding an executable page of memory- writing the syscall opcode to it- setting up registers according to the os syscall convention- single stepping over the syscallThe advantage of this approach over calling the mmap function is thatthis works even in case the mmap function is buggy or unavailable. Thedisadvantage is it is more platform-dependent, which is why this patchonly works on X86 (_32 and _64) right now. Adding support for otherlinux architectures should be easy and consist of defining theappropriate syscall constants. Adding support for other OSes depends onthe its ability to do a similar trick.Differential Revision: https://reviews.llvm.org/D89124

            List of files:
            /llvm-project-15.0.7/lldb/test/API/tools/lldb-server/memory-allocation/Makefile</description>
        <pubDate>Fri, 09 Oct 2020 11:59:50 +0000</pubDate>
        <dc:creator>Pavel Labath &lt;pavel@labath.sk&gt;</dc:creator>
    </item>
</channel>
</rss>
