when there are two symbol has the same address. llvm-objdump -D -symbol-description will select symbol based on the following rule:
- using Label first if there is a Label symbol.
- If there is not Label, using a symbol which has Storage Mapping class.
- if more than one symbol has storage mapping class, put the TC0 has the low priority, for other storage mapping class , compare based on the value.
It's not okay for the library header to refer to a function defined in the tool implementation. Either the function should be part of the library or the tool should define and use a custom comparator. I'm leaning towards the latter.