<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Apply to 11.x: LLDB fixes for minidumps with breakpad-style text hashing and user-specified sysroots"
href="https://bugs.llvm.org/show_bug.cgi?id=48053">48053</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Apply to 11.x: LLDB fixes for minidumps with breakpad-style text hashing and user-specified sysroots
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>JCTremoulet@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=24120" name="attach_24120" title="Cherry-pick of 61bfc703c3d with conflicts resolved">attachment 24120</a> <a href="attachment.cgi?id=24120&action=edit" title="Cherry-pick of 61bfc703c3d with conflicts resolved">[details]</a></span>
Cherry-pick of 61bfc703c3d with conflicts resolved
Opening minidumps from breakpad with user-specified sysroots is a key scenario
for us, so I'll need to support it downstream on 11.0.1. I'd like to request
that these changes be included in the upstream 11.0.1 release.
This includes one fix for breakpad-style minidumps:
<a href="https://reviews.llvm.org/D89155">https://reviews.llvm.org/D89155</a> -- [lldb] Minidump: check for .text hash
match with directory
And three fixes for opening minidumps with user-specified sysroots:
<a href="https://reviews.llvm.org/D88099">https://reviews.llvm.org/D88099</a> -- [lldb] Fix GetRemoteSharedModule fallback
logic
<a href="https://reviews.llvm.org/D89155">https://reviews.llvm.org/D89155</a> -- [lldb] Minidump: check for .text hash
match with directory
<a href="https://reviews.llvm.org/D89157">https://reviews.llvm.org/D89157</a> -- [lldb] Report old modules from
ModuleList::ReplaceEquivalent
As well as one fix that was needed for a new testcase added in one of the above
commits, to get that test passing on Windows:
4a55c98fa7b -- [lldb] Normalize paths in new test
Plus one refactoring that one of the above depends on:
<a href="https://reviews.llvm.org/D89156">https://reviews.llvm.org/D89156</a> -- [lldb] GetSharedModule: Collect old
modules in SmallVector
The refactoring doesn't apply cleanly to the 11.x branch, so I'm attaching a
patch file that has it applied with conflicts resolved.
I've verified that the following script applies all of these cleanly to the
11.x branch (as of 8fc424f26b), and passes check-lldb:
---------
git cherry-pick 20f84257ac4 # <a href="https://reviews.llvm.org/D88099">https://reviews.llvm.org/D88099</a> -- [lldb] Fix
GetRemoteSharedModule fallback logic
git cherry-pick 4a55c98fa7b # (Fix test bug from D88099 for Windows build
bot) -- [lldb] Normalize paths in new test
git cherry-pick 0e6c9a6e794 # <a href="https://reviews.llvm.org/D86261">https://reviews.llvm.org/D86261</a>-- Add hashing
of the .text section to ProcessMinidump.
git cherry-pick d30797b4041 # <a href="https://reviews.llvm.org/D89155">https://reviews.llvm.org/D89155</a> -- [lldb]
Minidump: check for .text hash match with directory
# Next we need 61bfc703c3d # <a href="https://reviews.llvm.org/D89156">https://reviews.llvm.org/D89156</a> -- [lldb]
GetSharedModule: Collect old modules in SmallVector
# but it doesn't cherry-pick cleanly, so apply the patch attached to the
bug, which has the change but
# with conflicts resolved.
git apply --index pick-61bfc703c3d-resolved.txt
git commit --reuse-message=61bfc703c3d
git cherry-pick d20aa7ca422 # <a href="https://reviews.llvm.org/D89157">https://reviews.llvm.org/D89157</a> -- [lldb]
Report old modules from ModuleList::ReplaceEquivalent
---------</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>