[Bug 15936] New: LLDB incorrectly unwinds a call stack that contains a function with an illegal instruction

Bug ID 15936
Summary LLDB incorrectly unwinds a call stack that contains a function with an illegal instruction
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter daniel.malea@intel.com
Classification Unclassified

When a function has an illegal instruction (as generated by GCC 4.6 for a call
to "__builtin_trap" intrinsic, LLDB does not correctly generate a stack trace.
Specifically, the function that includes the illegal opcode is not present.

See test/linux/builtin_trap/TestBuiltinTrap.py for more details.

labath@google.com changed bug 15936

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | FIXED |

Comment # 1 on bug 15936 from labath@google.com

The test passes with gcc>=4.8. I don't know if 4.6 still fails, but hopefully
noone uses that anymore.