Skip to content
Commit 14fe17f3 authored by Howard Hinnant's avatar Howard Hinnant
Browse files

Fix demangling crasher. The crasher involved nested <encoding> involving...

Fix demangling crasher.  The crasher involved nested <encoding> involving parameter packs, which exposed a logic bug causing an empty vector<string> to be accessed with back().  In addition to fixing the bug, I've inserted numerous preemptive checks for similar bugs in the hopes that if another bug is uncovered, the bug results in an invalid mangled string instead of a demangler crash.  Test suite updated with string that was causing the crash.

llvm-svn: 197063
parent c4cb5d90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment