diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-07-04 19:49:31 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-07-04 19:49:31 +0000 |
commit | c494481ea4f866c922521fd928166d10518ab957 (patch) | |
tree | 0f338616003e9895726eeaa8c2b27471e77682ac /llvm/docs/FaultMaps.rst | |
parent | d9b7b2d5f7a1d6225eb9756f050d4fc22a5e3d0b (diff) | |
download | bcm5719-llvm-c494481ea4f866c922521fd928166d10518ab957.tar.gz bcm5719-llvm-c494481ea4f866c922521fd928166d10518ab957.zip |
Add assert for 'bad' code path in GetUniqueNamespaceDeclaration
Summary:
If we call this function with a non-namespace as a second argument (and a nullptr name), we currently
only get a nullptr as a return when we hit the "Bad!!!" code path. This patch just adds an assert as this
seems to be a programming error in the calling code.
Reviewers: shafik
Subscribers: abidh, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D57880
llvm-svn: 365157
Diffstat (limited to 'llvm/docs/FaultMaps.rst')
0 files changed, 0 insertions, 0 deletions