[PATCH] D15247: Check multilib dir for asan_device_setup.
Dan Albert via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 4 14:54:05 PST 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL254789: Check multilib dir for asan_device_setup. (authored by danalbert).
Changed prior to commit:
http://reviews.llvm.org/D15247?vs=41945&id=41947#toc
Repository:
rL LLVM
http://reviews.llvm.org/D15247
Files:
compiler-rt/trunk/lib/asan/scripts/asan_device_setup
Index: compiler-rt/trunk/lib/asan/scripts/asan_device_setup
===================================================================
--- compiler-rt/trunk/lib/asan/scripts/asan_device_setup
+++ compiler-rt/trunk/lib/asan/scripts/asan_device_setup
@@ -222,8 +222,13 @@
ASAN_RT_PATH="$HERE"
elif [[ $(basename "$HERE") == "bin" ]]; then
# We could be in the toolchain's base directory.
- # Consider ../lib, ../lib/asan, ../lib/linux and ../lib/clang/$VERSION/lib/linux.
- P=$(ls "$HERE"/../lib/"$ASAN_RT" "$HERE"/../lib/asan/"$ASAN_RT" "$HERE"/../lib/linux/"$ASAN_RT" "$HERE"/../lib/clang/*/lib/linux/"$ASAN_RT" 2>/dev/null | sort | tail -1)
+ # Consider ../lib, ../lib/asan, ../lib/linux,
+ # ../lib/clang/$VERSION/lib/linux, and ../lib64/clang/$VERSION/lib/linux.
+ P=$(ls "$HERE"/../lib/"$ASAN_RT" \
+ "$HERE"/../lib/asan/"$ASAN_RT" \
+ "$HERE"/../lib/linux/"$ASAN_RT" \
+ "$HERE"/../lib/clang/*/lib/linux/"$ASAN_RT" \
+ "$HERE"/../lib64/clang/*/lib/linux/"$ASAN_RT" 2>/dev/null | sort | tail -1)
if [[ -n "$P" ]]; then
ASAN_RT_PATH="$(dirname "$P")"
fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15247.41947.patch
Type: text/x-patch
Size: 1135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151204/f0420c5b/attachment.bin>
More information about the llvm-commits
mailing list