Display the visibility attribute

I was trying to track down a linkage issue, and found no way of knowing whether a symbol in a library had a visibility attribute of "hidden" or "default". Both nm and objdump merrily listed all symbols, regardless of their visibility attribute. While trawling the web, I found one post showing a gcc objdump output that explicitly said "hidden", and someone else claiming that hidden symbols disappeared from their llvm-nm output. What's the deal with the Xcode tools? I'm running Xcode 10.2.1. Thanks in advance!