<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - FAIL: HWAddressSanitizer-x86_64 :: TestCases/global.c"
href="https://bugs.llvm.org/show_bug.cgi?id=49530">49530</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FAIL: HWAddressSanitizer-x86_64 :: TestCases/global.c
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>11.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nnelson@infowest.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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 <a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>