Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtool/nm:flags option & symbol version #829

Merged
merged 3 commits into from
Oct 16, 2024
Merged

Conversation

luoliwoshang
Copy link
Contributor

@luoliwoshang luoliwoshang commented Oct 15, 2024

#830

  • support pass flag
  • parse symbol version for linux

For llcppsymg get dynamic symbol in linux by passing option to nm.

before havent symbol output

root@be00d9b1c2c9:/lib/aarch64-linux-gnu# nmdump liblua5.4.so
root@be00d9b1c2c9:/lib/aarch64-linux-gnu# 

after,pass -D flag can outout dynamic symbol normally

root@be00d9b1c2c9:/lib/aarch64-linux-gnu# nmdump -D liblua5.4.so
0000000000000000 A LUA_5.4@@LUA_5.4
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 U __ctype_b_loc@GLIBC_2.17
                 U __ctype_tolower_loc@GLIBC_2.17
                 U __ctype_toupper_loc@GLIBC_2.17
                 w __cxa_finalize@GLIBC_2.17
                 U __errno_location@GLIBC_2.17
                 U __fprintf_chk@GLIBC_2.17
                 w __gmon_start__

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.47%. Comparing base (9ea88fe) to head (d682771).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #829   +/-   ##
=======================================
  Coverage   97.47%   97.47%           
=======================================
  Files          20       20           
  Lines        5157     5157           
=======================================
  Hits         5027     5027           
  Misses        110      110           
  Partials       20       20           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@luoliwoshang luoliwoshang force-pushed the xtool/nm branch 3 times, most recently from 3360c13 to ea6da2e Compare October 15, 2024 07:12
@luoliwoshang luoliwoshang changed the title xtool/nm:flags option xtool/nm:flags option & symbol version Oct 15, 2024
@xushiwei xushiwei merged commit 5f0e30e into goplus:main Oct 16, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants