Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
smol
Commits
494d3263
Commit
494d3263
authored
Aug 05, 2020
by
PoroCYon
Browse files
sort symbols in linkmap by address
parent
51db8f87
Changes
1
Hide whitespace changes
Inline
Side-by-side
smol/linkmap.py
View file @
494d3263
...
@@ -82,7 +82,7 @@ def parse_mmap(ls: Sequence[str]) -> Sequence[MMap]:
...
@@ -82,7 +82,7 @@ def parse_mmap(ls: Sequence[str]) -> Sequence[MMap]:
if
len
(
symn
)
>
0
:
if
len
(
symn
)
>
0
:
rrr
.
append
(
MMap
(
section
,
addr
,
symn
,
curfile
))
rrr
.
append
(
MMap
(
section
,
addr
,
symn
,
curfile
))
return
rrr
return
sorted
(
rrr
,
key
=
lambda
m
:
m
.
org
)
def
parse
(
s
:
str
)
->
LinkMap
:
def
parse
(
s
:
str
)
->
LinkMap
:
COMMON
=
0
COMMON
=
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment