[LLVMbugs] [Bug 14151] New: debug info for EH is not emitted

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 04:07:57 PDT 2012


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

             Bug #: 14151
           Summary: debug info for EH is not emitted
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: olga.a.chupina at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9403
  --> http://llvm.org/bugs/attachment.cgi?id=9403
bitcode file

Consider the test:

$ cat test.cpp
#include <stdio.h>

int main(void)
{
    try {
        throw 1;
    }
    catch(int x) {
        printf("%d\n", x);
    }
    return 0;
}

Exception handling-related debug info is not emmited in clang
(DW_TAG_try_block, DW_TAG_catch_block). Bitcode file produced by clang is
attached.

Compilation line: clang -S  -O0 -g  test.cpp -emit-llvm -o test.bc



Olga Chupina
---
Software Engineer
Intel Compiler Team
Intel Corp.

-- 
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