[LLVMbugs] [Bug 13755] New: Assertion failed: (I != std::string::npos && "Expected to find -main-file-name")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 2 16:36:52 PDT 2012


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

             Bug #: 13755
           Summary: Assertion failed: (I != std::string::npos && "Expected
                    to find -main-file-name")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9146
  --> http://llvm.org/bugs/attachment.cgi?id=9146
t.S

Secondary assert during diagnostics generation after another assert.

% clang -c t.S 
ELF doesn't support this directive
UNREACHABLE executed at
/data/buildslave/freebsd-clang-amd64/src-llvm/lib/MC/MCELFStreamer.cpp:95!
Stack dump:
0.    Program arguments:
/data/buildslave/freebsd-clang-amd64/obj/llvm.2/Release+Asserts/bin/clang
-cc1as -triple x86_64-unknown-freebsd9.1 -filetype obj -o t.o /tmp/t-FCANxs.s 
1.    Program arguments: -triple x86_64-unknown-freebsd9.1 -filetype obj -o t.o
/tmp/t-FCANxs.s 
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang integrated assembler command failed due to signal (use -v
to see invocation)
clang version 3.2 (trunk 163096)
Target: x86_64-unknown-freebsd9.1
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/t-mKMYRN
Assertion failed: (I != std::string::npos && "Expected to find
-main-file-name"), function generateCompilationDiagnostics, file
/data/buildslave/freebsd-clang-amd64/src-llvm/tools/clang/lib/Driver/Driver.cpp,
line 558.
Stack dump:
0.    Program arguments: clang -c t.S 
Abort (core dumped)

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list