[compiler-rt] r357502 - Fix problem with ar_to_bc.sh script introduced by r357450.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 2 10:47:38 PDT 2019
Author: pcc
Date: Tue Apr 2 10:47:38 2019
New Revision: 357502
URL: http://llvm.org/viewvc/llvm-project?rev=357502&view=rev
Log:
Fix problem with ar_to_bc.sh script introduced by r357450.
The new code wasn't matching absolute paths correctly. Should unbreak
sanitizer-x86_64-linux bot.
Modified:
compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh
Modified: compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh?rev=357502&r1=357501&r2=357502&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh (original)
+++ compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/ar_to_bc.sh Tue Apr 2 10:47:38 2019
@@ -9,8 +9,8 @@ if [ "$#" -le 1 ]; then
usage
fi
-[[ AR == /* ]] || AR=$PWD/$AR
-[[ LINK == /* ]] || LINK=$PWD/$LINK
+[[ $AR == /* ]] || AR=$PWD/$AR
+[[ $LINK == /* ]] || LINK=$PWD/$LINK
INPUTS=
OUTPUT=
More information about the llvm-commits
mailing list