Index: lib/Object/SymbolSize.cpp =================================================================== --- lib/Object/SymbolSize.cpp +++ lib/Object/SymbolSize.cpp @@ -27,8 +27,10 @@ static int compareAddress(const SymEntry *A, const SymEntry *B) { if (A->SectionID != B->SectionID) - return A->SectionID - B->SectionID; - return A->Address - B->Address; + return A->SectionID < B->SectionID ? -1 : 1; + if (A->Address != B->Address) + return A->Address < B->Address ? -1 : 1; + return 0; } static unsigned getSectionID(const ObjectFile &O, SectionRef Sec) { Index: projects/compiler-rt/test/asan/TestCases/use-after-scope-types.cc =================================================================== --- projects/compiler-rt/test/asan/TestCases/use-after-scope-types.cc +++ projects/compiler-rt/test/asan/TestCases/use-after-scope-types.cc @@ -11,9 +11,6 @@ // RUN: not %run %t 9 2>&1 | FileCheck %s // RUN: not %run %t 10 2>&1 | FileCheck %s -// Temporarily disable to fix the bot. -// UNSUPPORTED: darwin - #include #include #include