[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:
Frederic Cambus 2021-09-24 19:04:16 +05:30 committed by Shivam Gupta
parent ce21ab23b7
commit 626e2a6c62
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#===- lib/asan/scripts/asan_device_setup -----------------------------------===#
#
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# The lines that we're looking to symbolize look like this:
#0 ./a.out(_foo+0x3e6) [0x55a52e64c696]

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function usage() {
echo "Usage: $0 INPUT... OUTPUT"

View File

@ -1,4 +1,4 @@
#!/bin/bash -eu
#!/usr/bin/env bash
#
# Run as: CLANG=bin/clang ZLIB_SRC=src/zlib \
# build_symbolizer.sh runtime_build/lib/clang/4.0.0/lib/linux/

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Script that prints information about generated code in TSan runtime.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Script that checks that critical functions in TSan runtime have correct number
# of push/pop/rsp instructions to verify that runtime is efficient enough.

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -u
set -e