forked from OSchip/llvm-project
[compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests.
In build_symbolizer.sh we can safely remove the -eu argument from the shebang (which is an unportable construct), as the scripts sets **-e** and **-u** already. Differential Revision: https://reviews.llvm.org/D110039
This commit is contained in:
parent
ce21ab23b7
commit
626e2a6c62
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#===- lib/asan/scripts/asan_device_setup -----------------------------------===#
|
#===- lib/asan/scripts/asan_device_setup -----------------------------------===#
|
||||||
#
|
#
|
||||||
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# The lines that we're looking to symbolize look like this:
|
# The lines that we're looking to symbolize look like this:
|
||||||
#0 ./a.out(_foo+0x3e6) [0x55a52e64c696]
|
#0 ./a.out(_foo+0x3e6) [0x55a52e64c696]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function usage() {
|
function usage() {
|
||||||
echo "Usage: $0 INPUT... OUTPUT"
|
echo "Usage: $0 INPUT... OUTPUT"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -eu
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Run as: CLANG=bin/clang ZLIB_SRC=src/zlib \
|
# Run as: CLANG=bin/clang ZLIB_SRC=src/zlib \
|
||||||
# build_symbolizer.sh runtime_build/lib/clang/4.0.0/lib/linux/
|
# build_symbolizer.sh runtime_build/lib/clang/4.0.0/lib/linux/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Script that prints information about generated code in TSan runtime.
|
# Script that prints information about generated code in TSan runtime.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Script that checks that critical functions in TSan runtime have correct number
|
# Script that checks that critical functions in TSan runtime have correct number
|
||||||
# of push/pop/rsp instructions to verify that runtime is efficient enough.
|
# of push/pop/rsp instructions to verify that runtime is efficient enough.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -u
|
set -u
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue