It is used by clusterfuzz (https://github.com/google/clusterfuzz/pull/2009/)
and having this compatibility option for a while can help they do bisection
with the latest llvm-symbolizer.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM. Maybe the test name should be use-symbol-table-true.s? Do you plan to add more --use-symbol-table tests (there are currently no others)?
Never mind this question - I hadn't registered that the option was missing completely. Did --use-symbol-table=false (or some equivalent option) previously do something? If so, wemight want to add it back (with testing), as my understanding is that you didn't remove it deliberately.
--use-symbol-table=false did something previously but I cannot find it in code search. --use-symbol-table=true was a strange option name but was used previously by asan_symbolize.py (in llvm-project) and elsewhere (I don't know why they used it). --use-symbol-table can override function names with .symtab information, which supposedly has at least some debugging meanings. We can bring it back when proper tests are added.
llvm/test/tools/llvm-symbolizer/use-symbol-table.s | ||
---|---|---|
7 | https://android-review.googlesource.com/c/platform/ndk/+/1419436 should remove this unnecessary option. Thanks for the heads up. |
Cc @srhines: ndk-stack.py should probably remove --use-symbol-table=true