Skip to content

Commit 400946d

Browse files
committed
feat(symbol):fetch symbol with llvm-nm
1 parent d68480a commit 400946d

File tree

1 file changed

+1
-1
lines changed
  • _xtool/llcppsymg/internal/symg

1 file changed

+1
-1
lines changed

_xtool/llcppsymg/internal/symg/symg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ func ParseDylibSymbols(lib string) ([]*nm.Symbol, error) {
138138
args = append(args, "-D")
139139
}
140140

141-
files, err := nm.New("").List(dylibPath, args...)
141+
files, err := nm.New("llvm-nm").List(dylibPath, args...)
142142
if err != nil {
143143
parseErrors = append(parseErrors, fmt.Sprintf("ParseDylibSymbols:Failed to list symbols in dylib %s: %v", dylibPath, err))
144144
continue

0 commit comments

Comments
 (0)