Index: branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc =================================================================== --- branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc (revision 552817) +++ branches/2020Q4/devel/llvm10/files/patch-lib_Support_Unix_Path.inc (revision 552818) @@ -1,19 +1,19 @@ --- lib/Support/Unix/Path.inc.orig 2020-10-19 17:56:15 UTC +++ lib/Support/Unix/Path.inc @@ -208,14 +208,9 @@ std::string getMainExecutable(const char *argv0, void while (*p++ != 0) ; // Iterate through auxiliary vectors for AT_EXECPATH. - for (;;) { - switch (*(uintptr_t *)p++) { - case AT_EXECPATH: + for (; (uintptr_t *)p != AT_NULL; p++) { -+ if (*(uintptr_t *)p++ == AT_EXECPATH); ++ if (*(uintptr_t *)p++ == AT_EXECPATH) return *p; - case AT_NULL: - break; - } - p++; } #endif // Fall back to argv[0] if auxiliary vectors are not available. Index: branches/2020Q4 =================================================================== --- branches/2020Q4 (revision 552817) +++ branches/2020Q4 (revision 552818) Property changes on: branches/2020Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r552813