[llvm-bugs] [Bug 25923] New: lld/ELF2 linked application crashes if exceptions were used.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Dec 22 08:52:31 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25923

            Bug ID: 25923
           Summary: lld/ELF2 linked application crashes if exceptions were
                    used.
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: grimar at accesssoftek.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Sample code that uses exceptions linked with lld fails in runtime.

int main() {
  try {
   throw 0;
  }catch(...)
  {
  }
  return 0;
}

~/LLVM/build/bin/clang++ -fuse-ld=lld -g test.cpp -o runme
terminate called after throwing an instance of 'int'
Aborted (core dumped)

-- 
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/20151222/a59c71ac/attachment.html>


More information about the llvm-bugs mailing list