[LLVMbugs] [Bug 20752] New: ".org . - 1" segfault clang

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 26 01:26:02 PDT 2014


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

            Bug ID: 20752
           Summary: ".org . - 1" segfault clang
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: sylvestre at debian.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

-- foo.S --
.org . - 1

$ LANG=C clang-3.6 -cc1as  -filetype obj foo.S  
0  libLLVM-3.6.so.1 0x00007fccec3ddd52 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.6.so.1 0x00007fccec3dd7fc
2  libpthread.so.0  0x00007fcceb0138d0
3  libc.so.6        0x00007fcce9c58854 memset + 84
4  libLLVM-3.6.so.1 0x00007fcceb89336e
llvm::MCObjectStreamer::EmitFill(unsigned long, unsigned char) + 94
5  libLLVM-3.6.so.1 0x00007fcceb891dad
llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) +
301
6  libLLVM-3.6.so.1 0x00007fcceb7e616b
7  libLLVM-3.6.so.1 0x00007fccebc0fc3f
8  libLLVM-3.6.so.1 0x00007fccebc0fe35
9  clang-3.6        0x00000000006996e7 cc1as_main(char const**, char const**,
char const*, void*) + 5927
10 clang-3.6        0x0000000000695505 main + 9013
11 libc.so.6        0x00007fcce9bf4b45 __libc_start_main + 245
12 clang-3.6        0x0000000000695536
Stack dump:
0.    Program arguments: clang-3.6 -cc1as -filetype obj foo.S 
1.    Program arguments: -filetype obj foo.S 
0  libLLVM-3.6.so.1 0x00007fccec3ddd52 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.6.so.1 0x00007fccec3dd7fc
2  libpthread.so.0  0x00007fcceb0138d0
3  libc.so.6        0x00007fcce9c58854 memset + 84
4  libLLVM-3.6.so.1 0x00007fcceb89336e
llvm::MCObjectStreamer::EmitFill(unsigned long, unsigned char) + 94
5  libLLVM-3.6.so.1 0x00007fcceb891dad
llvm::MCObjectStreamer::EmitValueToOffset(llvm::MCExpr const*, unsigned char) +
301
6  libLLVM-3.6.so.1 0x00007fcceb7e616b
7  libLLVM-3.6.so.1 0x00007fccebc0fc3f
8  libLLVM-3.6.so.1 0x00007fccebc0fe35
9  clang-3.6        0x00000000006996e7 cc1as_main(char const**, char const**,
char const*, void*) + 5927
10 clang-3.6        0x0000000000695505 main + 9013
11 libc.so.6        0x00007fcce9bf4b45 __libc_start_main + 245
12 clang-3.6        0x0000000000695536
Erreur de segmentation

Can be reproduced with 3.4 & 3.5

-- 
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/20140826/e780c523/attachment.html>


More information about the llvm-bugs mailing list