[PATCH] D26537: Fix llvm-symbolizer to correctly sort a symbol array and calculate symbol sizes

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 16:15:10 PST 2016


kubabrecka added a comment.

> Is it possible to manufacture a test in unittests/Object/ ?

I spend some time trying to, and I'm giving up on writing a subclass of ObjectFile that I could give to computeSymbolSizes.  The best I could come up with was to pull SymEntry and compareAddress into a header file and just test that array_pod_sort sorts correctly.  Will that do?


https://reviews.llvm.org/D26537





More information about the llvm-commits mailing list