[llvm-bugs] [Bug 49530] New: FAIL: HWAddressSanitizer-x86_64 :: TestCases/global.c

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 10 17:45:13 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49530

            Bug ID: 49530
           Summary: FAIL: HWAddressSanitizer-x86_64 :: TestCases/global.c
           Product: new-bugs
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nnelson at infowest.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

FAIL: HWAddressSanitizer-x86_64 :: TestCases/global.c (39190 of 89700)
******************** TEST 'HWAddressSanitizer-x86_64 :: TestCases/global.c'
FAILED ********************
Script:
--
: 'RUN: at line 1';      /home/nnelson/Documents/llvm-project/build/./bin/clang
  -m64  -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large
-mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm
-hwasan-instrument-landing-pads=0 -mllvm
-hwasan-instrument-personality-functions
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c
-o
/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
: 'RUN: at line 2';   
/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
0
: 'RUN: at line 3';   not 
/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
1 2>&1 | FileCheck --check-prefixes=CHECK,RSYM
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c
: 'RUN: at line 4';   not env
HWASAN_OPTIONS=disable_allocator_tagging=1:random_tags=0:fail_without_syscall_abi=0:symbolize=0

/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
1 2>&1 | FileCheck --check-prefixes=CHECK,RNOSYM
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c
: 'RUN: at line 5';   not 
/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
-1 2>&1 | FileCheck --check-prefixes=CHECK,LSYM
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c
: 'RUN: at line 6';   not env
HWASAN_OPTIONS=disable_allocator_tagging=1:random_tags=0:fail_without_syscall_abi=0:symbolize=0

/home/nnelson/Documents/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/global.c.tmp
-1 2>&1 | FileCheck --check-prefixes=CHECK,LNOSYM
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c
--
Exit Code: 2

Command Output (stderr):
--
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c:16:8:
warning: implicit declaration of function 'atoi' is invalid in C99
[-Wimplicit-function-declaration]
  (&x)[atoi(argv[1])] = 1;
       ^
1 warning generated.
FileCheck error: '<stdin>' is empty.
FileCheck command line:  FileCheck --check-prefixes=CHECK,RSYM
/home/nnelson/Documents/llvm-project/compiler-rt/test/hwasan/TestCases/global.c

--
Obtained by the following processing.
Xubuntu 20.10.

>From the Ubuntu distribution
clang++ --version
Ubuntu clang version 11.0.0-2

git command executed close to 9pm Mar. 9, 2021, Mountain Standard Time.
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir build
cd build

cmake -G Ninja
-DLLVM_ENABLE_PROJECTS="clang;llvm;clang-tools-extra;compiler-rt;flang;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;parallel-libs;polly;pstl;utils"
-DLLVM_USE_LINKER=lld -DCMAKE_BUILD_TYPE="Release" -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_LIBPFM=OFF -DRUN_HAVE_GNU_POSIX_REGEX=0
-DLLVM_LIBC_ENABLE_LINTING=ON -Wno-dev ../llvm &> ~/Documents/cmake.log

ninja -j 31 &> ~/Documents/ninja.log
ninja -j 31 check-all &> ~/Documents/check-all.log

>From check-all.log
Failed Tests (11):
  Builtins-i386-linux :: muldc3_test.c
  HWAddressSanitizer-x86_64 :: TestCases/global.c
  SanitizerCommon-asan-i386-Linux :: Linux/crypt_r.cpp
  SanitizerCommon-asan-i386-Linux :: Posix/crypt.cpp
  SanitizerCommon-lsan-i386-Linux :: Linux/crypt_r.cpp
  SanitizerCommon-lsan-i386-Linux :: Posix/crypt.cpp
  SanitizerCommon-ubsan-i386-Linux :: Linux/crypt_r.cpp
  SanitizerCommon-ubsan-i386-Linux :: Posix/crypt.cpp
  libomptarget :: offloading/memory_manager.cpp
  libomptarget :: offloading/parallel_offloading_map.cpp
  lldb-api :: tools/lldb-vscode/runInTerminal/TestVSCode_runInTerminal.py


Testing Time: 467.65s
  Unsupported      : 23487
  Passed           : 66034
  Expectedly Failed:   168
  Failed           :    11

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210311/a68701d5/attachment.html>


More information about the llvm-bugs mailing list