[PATCH] fix PR sanitizer/55617 via qsort
Mon Feb 4 19:27:00 GMT 2013
On Feb 4, 2013, at 11:23 AM, Mike Stump <firstname.lastname@example.org> wrote:
> On Feb 4, 2013, at 9:22 AM, Jack Howarth <email@example.com> wrote:
>> Currently darwin is unable to utilize libasan with constructors due to the lack of
>> constructor priority support on that target.
>> Okay for gcc trunk?
> Since asan doesn't need cross translation unit priorities, the patch is sufficient to fix all of the semantics needed for asan.
> I still have a preference, though small, for stable_sort instead of qsort, absent performance data saying qsort is better.
Oh, if you could, could you qsort of the dtors as well. The code exactly mirrors the ctors code.
More information about the Gcc-patches