<div dir="ltr"><span style="font-size:12.8px">Error:</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Failing Tests (3):</div><div style="font-size:12.8px">    Extra Tools Unit Tests :: clangd/ClangdTests/<wbr>ClangdVFSTest.Reparse</div><div style="font-size:12.8px">    Extra Tools Unit Tests :: clangd/ClangdTests/<wbr>ClangdVFSTest.<wbr>ReparseOnHeaderChange</div><div style="font-size:12.8px">    LLVM :: tools/sanstats/elf.test</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">  Expected Passes    : 40426</div><div style="font-size:12.8px">  Expected Failures  : 212</div><div style="font-size:12.8px">  Unsupported Tests  : 1434</div><div style="font-size:12.8px">  Unexpected Failures: 3</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">SVN: 304006</div><div style="font-size:12.8px">OS: linux</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Repro steps:<br></div><div style="font-size:12.8px"><div><br></div><div><div>#!/usr/bin/env bash</div><div># Build a clang compiler with libc++ & openmp support</div><div>#</div><div># libc++ tests don't pass when built with gcc 4.8.4</div><div># so build clang using gcc (this will use libstdc++ by default.)</div><div># Then build everything again using clang. If you don't have enough space in</div><div># /tmp (40G?), set TMPDIR to another location before running this script.</div><div><br></div><div>set -o errexit</div><div>set -o xtrace</div><div><br></div><div>SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"</div><div><br></div><div>if [ -z ${TMPDIR+x} ]; then</div><div>  # TMPDIR is used by mktemp as the tmp directory</div><div>  export TMPDIR=/tmp</div><div>fi</div><div><br></div><div>CLANG_BUILD_TMP=$USER-clang-<wbr>build-</div><div><br></div><div># clean up any old build attempts</div><div>rm -rf $TMPDIR/${CLANG_BUILD_TMP}* || true</div><div><br></div><div>ROOT="$(mktemp -d -t ${CLANG_BUILD_TMP}XXXX)"</div><div>cd $ROOT</div><div><br></div><div># Get the latest revision number here: <a href="https://llvm.org/svn/llvm-project/" target="_blank">https://llvm.org/svn/llvm-<wbr>project/</a></div><div># update this number and check in this script with new prebuilts</div><div>REV=304006</div><div><br></div><div>function svn_co() {</div><div>  PROJ=$1</div><div>  svn --trust-server-cert --non-interactive -r$REV co <a href="https://llvm.org/svn/llvm-project/$PROJ/trunk" target="_blank">https://llvm.org/svn/llvm-<wbr>project/$PROJ/trunk</a> $PROJ &</div><div>}</div><div><br></div><div>svn_co llvm</div><div>svn_co cfe</div><div>svn_co clang-tools-extra</div><div>svn_co compiler-rt</div><div>svn_co libcxx</div><div>svn_co libcxxabi</div><div>svn_co openmp</div><div><br></div><div>wait</div><div><br></div><div>mv cfe/ llvm/tools/clang/</div><div>mv clang-tools-extra/ llvm/tools/clang/tools/extra/</div><div>mv compiler-rt/ llvm/projects/compiler-rt/</div><div>mv libcxx/ llvm/projects/libcxx/</div><div>mv libcxxabi/ llvm/projects/libcxxabi/</div><div>mv openmp/ llvm/projects/openmp/</div><div><br></div><div>mkdir $ROOT/build1</div><div>cd $ROOT/build1</div><div>cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$ROOT/<wbr>stage1 $CLANG</div><div><br></div><div>make -j $(nproc)</div><div>make install</div><div>rm -rf $ROOT/build1</div><div><br></div><div>mkdir $ROOT/build2</div><div>cd $ROOT/build2</div><div>cmake ../llvm \</div><div>  -DCMAKE_BUILD_TYPE=Release \</div><div>  -DCMAKE_INSTALL_PREFIX=$<wbr>SCRIPT_DIR/clang \</div><div>  -DCMAKE_C_COMPILER=$ROOT/<wbr>stage1/bin/clang \</div><div>  -DCMAKE_CXX_COMPILER=$ROOT/<wbr>stage1/bin/clang++</div><div><br></div><div>make -j $(nproc)</div><div>make check-all -j $(nproc)</div></div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Details:</div><div style="font-size:12.8px"><div>/usr/local/google/home/<wbr>vharron/tmp/vharron-clang-<wbr>build-vPWw/build2/./bin/<wbr>sanstats /usr/local/google/home/<wbr>vharron/tmp/vharron-clang-<wbr>build-vPWw/build2/test/tools/<wbr>sanstats/Output/elf.test.tmp.<wbr>stats | /usr/local/google/home/<wbr>vharron/tmp/vharron-clang-<wbr>build-vPWw/build2/./bin/<wbr>FileCheck /usr/local/google/home/<wbr>vharron/tmp/vharron-clang-<wbr>build-vPWw/llvm/test/tools/<wbr>sanstats/elf.test</div><div>--</div><div>Exit Code: 1</div><div><br></div><div>Command Output (stderr):</div><div>--</div><div>/usr/local/google/home/<wbr>vharron/tmp/vharron-clang-<wbr>build-vPWw/llvm/test/tools/<wbr>sanstats/elf.test:28:10: error: expected string not found in input</div><div># CHECK: /tmp{{[/\\]}}f.c:1 f1 cfi-vcall 1</div><div>         ^</div><div><stdin>:1:1: note: scanning from here</div><div><invalid>:0 f1 cfi-vcall 1</div></div></div>