We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sharedlib info
1 parent 7610346 commit ff40adeCopy full SHA for ff40ade
src/debugger/debugee/registry.rs
@@ -277,7 +277,7 @@ impl DwarfRegistry {
277
}
278
279
280
- /// Return a ordered list of mapped regions (main executable region at first place).
+ /// Return an ordered list of mapped regions (main executable region at first place).
281
pub fn dump(&self) -> Vec<RegionInfo> {
282
let mut regions: Vec<_> = self
283
.files
@@ -296,6 +296,9 @@ impl DwarfRegistry {
296
if i1.path == self.program_path {
297
return Ordering::Less;
298
};
299
+ if i2.path == self.program_path {
300
+ return Ordering::Greater;
301
+ }
302
i1.path.cmp(&i2.path)
303
});
304
regions
0 commit comments