[LLVMbugs] [Bug 22682] New: TestCases/no_asan_gen_globals.c failed with -fuse-ld=gold

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 24 13:41:50 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22682

            Bug ID: 22682
           Summary: TestCases/no_asan_gen_globals.c failed with
                    -fuse-ld=gold
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

On Linux/x86, I got

[hjl at 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 at 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 at gnu-29 build-i686-linux]$ 

The same test passed with -fuse-ld=bfd.

-- 
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/20150224/778ba741/attachment.html>


More information about the llvm-bugs mailing list