| Issue |
55506
|
| Summary |
llvm-nm -opaque-pointers option missing
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
Brandon-T
|
When listing symbols in `rust` for `aarch64` binaries on MacOS, I do:
```
/src/third_party/llvm-build/Release+Asserts/bin/llvm-nm /src/out/ios_Debug_arm64/brave_rust/out/arm64/aarch64-apple-ios/debug/libcustom_rust.a --extern-only --no-sort --just-symbol-name --opaque-pointers | grep error:
```
which results in: `error: : unknown argument '--opaque-pointers'`
If I remove the `--opaque-pointers` option, then the result is:
```
error: /src/out/ios_Debug_arm64/custom_rust/out/arm64/aarch64-apple-ios/debug/libcustom_rust.a(hide.o): Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.0git' Reader: 'LLVM 15.0.0git')
/src/out/ios_Debug_arm64/custom_rust/out/arm64/aarch64-apple-ios/debug/libcustom_rust.a:addtf3.o: no symbols
/src/out/ios_Debug_arm64/custom_rust/out/arm64/aarch64-apple-ios/debug/libcustom_rust.a:comparetf2.o: no symbols
```
Is there a way to get around this issue on `llvm-nm`?:
```
llvm-nm, compatible with GNU nm
LLVM (http://llvm.org/):
LLVM version 15.0.0git
Optimized build.
Default target: x86_64-apple-darwin21.4.0
Host CPU: znver3
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs