llvm-project/lldb/source
Raphael Isemann a7f19e5fda Use a DenseMap for looking up functions by UID in CompileUnit::FindFunctionByUID
Summary:
Instead of iterating over our vector of functions, we might as well use a map here to
directly get the function we need.

Thanks to Vedant for pointing this out.

Reviewers: vsk

Reviewed By: vsk

Subscribers: mgrang, lldb-commits

Differential Revision: https://reviews.llvm.org/D50225

llvm-svn: 339504
2018-08-11 23:40:27 +00:00
..
API Add new API to SBTarget class 2018-08-07 20:23:57 +00:00
Breakpoint If a function starts with line number 0, don't try to check if a breakpoint crossed function boundaries. 2018-08-07 21:09:55 +00:00
Commands Check result after setting PC value. 2018-08-07 16:46:11 +00:00
Core Use a DenseMap for looking up functions by UID in CompileUnit::FindFunctionByUID 2018-08-11 23:40:27 +00:00
DataFormatters Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Expression [IRMemoryMap] Shrink Allocation and make it move-only (NFC) 2018-08-08 21:26:49 +00:00
Host Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
Initialization Move pretty stack trace printer into driver. 2018-07-17 10:04:19 +00:00
Interpreter Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
Plugins Removed doxygen comment that doesn't fit to function signature 2018-08-07 23:47:05 +00:00
Symbol Use a DenseMap for looking up functions by UID in CompileUnit::FindFunctionByUID 2018-08-11 23:40:27 +00:00
Target [StackFrame] Add more clarifying comments to StackFrameList (NFC) 2018-08-07 23:48:25 +00:00
Utility Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
CMakeLists.txt Remove Plugins/Process/POSIX from include_directories 2017-04-11 12:26:25 +00:00
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00