diff options
| author | Gabor Horvath <xazax.hun@gmail.com> | 2017-02-15 15:35:56 +0000 |
|---|---|---|
| committer | Gabor Horvath <xazax.hun@gmail.com> | 2017-02-15 15:35:56 +0000 |
| commit | 562f3ccf3ed65e1a7e0a8d2a46b86fc0b8c159ae (patch) | |
| tree | aff71f885bb5be016c918e0894bd653f360ec78f /lldb/source/Commands/CommandObjectLog.cpp | |
| parent | 288f075f8eb8df6c846aab8ef52d964de99c03a2 (diff) | |
| download | bcm5719-llvm-562f3ccf3ed65e1a7e0a8d2a46b86fc0b8c159ae.tar.gz bcm5719-llvm-562f3ccf3ed65e1a7e0a8d2a46b86fc0b8c159ae.zip | |
[analyzer] Proper caching in CallDescription objects.
During the review of D29567 it turned out the caching in CallDescription is not implemented properly. In case an identifier does not exist in a translation unit, repeated identifier lookups will be done which might have bad impact on the performance. This patch guarantees that the lookup is only executed once. Moreover this patch fixes a corner case when the identifier of CallDescription does not exist in the translation unit and the called function does not have an identifier (e.g.: overloaded operator in C++).
Differential Revision: https://reviews.llvm.org/D29884
llvm-svn: 295186
Diffstat (limited to 'lldb/source/Commands/CommandObjectLog.cpp')
0 files changed, 0 insertions, 0 deletions

