<?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>d7c403e6 - [lldb/Plugins] Add ability to fetch crash information on crashed processes</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/lldb/test/API/functionalities/process_crash_info/Makefile#d7c403e6</link>
        <description>[lldb/Plugins] Add ability to fetch crash information on crashed processesCurrently, in macOS, when a process crashes, lldb halts inside theimplementation disassembly without yielding any useful information.The only way to get more information is to detach from the process, then waitfor ReportCrash to generate a report, find the report, then see what errormessage was included in it. Instead of waiting for this to happen, lldb couldlocate the error_string and make it available to the user.This patch addresses this issue by enabling the user to fetch extendedcrash information for crashed processes using `process status --verbose`.Depending on the platform, this will try to gather different crash informationinto an structured data dictionnary. This dictionnary is generic and extensible,as it contains an array for each different type of crash information.On Darwin Platforms, lldb will iterate over each of the target&apos;s images,extract their `__crash_info` section and generated a StructuredData::Arraycontaining, in each entry, the module spec, its UUID, the crash messagesand the abort cause. The array will be inserted into the platform&apos;s`m_extended_crash_info` dictionnary and `FetchExtendedCrashInformation` willreturn its JSON representation like this:```{  &quot;crash-info annotations&quot;: [    {      &quot;abort-cause&quot;: 0,      &quot;image&quot;: &quot;/usr/lib/system/libsystem_malloc.dylib&quot;,      &quot;message&quot;: &quot;main(76483,0x1000cedc0) malloc: *** error for object 0x1003040a0: pointer being freed was not allocated&quot;,      &quot;message2&quot;: &quot;&quot;,      &quot;uuid&quot;: &quot;5747D0C9-900D-3306-8D70-1E2EA4B7E821&quot;    },    ...  ],  ...}```This crash information can also be fetched using the SB API or lldb-rpc protocolusing SBTarget::GetExtendedCrashInformation().rdar://37736535Differential Revision: https://reviews.llvm.org/D74657Signed-off-by: Med Ismail Bennani &lt;medismail.bennani@gmail.com&gt;

            List of files:
            /llvm-project-15.0.7/lldb/test/API/functionalities/process_crash_info/Makefile</description>
        <pubDate>Fri, 21 Feb 2020 21:43:25 +0000</pubDate>
        <dc:creator>Med Ismail Bennani &lt;medismail.bennani@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
