<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - TestCases/no_asan_gen_globals.c failed with -fuse-ld=gold"
href="http://llvm.org/bugs/show_bug.cgi?id=22682">22682</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TestCases/no_asan_gen_globals.c failed with -fuse-ld=gold
</td>
</tr>
<tr>
<th>Product</th>
<td>compiler-rt
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>compiler-rt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>On Linux/x86, I got
[hjl@gnu-29 build-i686-linux]$
/export/build/gnu/llvm-clang-x86-bootstrap-cmake/debug/build-i686-linux/./bin/clang
-fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer
-fno-optimize-sibling-calls -gline-tables-only -m32
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/asan/TestCases/no_asan_gen_globals.c
-o
/export/build/gnu/llvm-clang-x86-bootstrap-cmake/debug/build-i686-linux/projects/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/no_asan_gen_globals.c.tmp.exe
-fuse-ld=gold
[hjl@gnu-29 build-i686-linux]$ nm
/export/build/gnu/llvm-clang-x86-bootstrap-cmake/debug/build-i686-linux/projects/compiler-rt/test/asan/I386LinuxConfig/TestCases/Output/no_asan_gen_globals.c.tmp.exe
| FileCheck
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/asan/TestCases/no_asan_gen_globals.c
<stdin>:677:14: error: CHECK-NOT: string occurred!
08120019 r .L__asan_gen_
^
/export/gnu/import/git/llvm-x32/projects/compiler-rt/test/asan/TestCases/no_asan_gen_globals.c:11:15:
note: CHECK-NOT: pattern specified here
// CHECK-NOT: __asan_gen_
^
[hjl@gnu-29 build-i686-linux]$
The same test passed with -fuse-ld=bfd.</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>