summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/ModuleCache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace file system forbidden symbols in the hostname which passed to the ↵Oleksiy Vyalov2016-05-241-4/+20
| | | | | | | | ModuleCache. http://reviews.llvm.org/D20548 llvm-svn: 270590
* Add modules downloaded by ModuleCache to the global ModuleListTamas Berghammer2015-12-101-5/+11
| | | | | | | | | | | | | Adding the modules to the global module list eleminate issues in the case when a module is unloaded from the target but some object (e.g. breakpoint) still referencing them with weak pointers. It also speeds up the case when we load, unload, load the same shared library because the global module cache will keep the parsed debug info around between the 2 load (this scenario happens for some code on android). Differential revision: http://reviews.llvm.org/D15415 llvm-svn: 255260
* Fix module cache sym links' creation for symbol files.Oleksiy Vyalov2015-11-031-2/+2
| | | | | | http://reviews.llvm.org/D14264 llvm-svn: 251871
* Remove unused modules from module cache.Oleksiy Vyalov2015-09-181-20/+114
| | | | | | http://reviews.llvm.org/D12971 llvm-svn: 248017
* Download symbol file for .oat files on androidTamas Berghammer2015-08-121-7/+43
| | | | | | | | | | | | | On android .oat files (compiled java code) don't have symbol information but on SDK 23+ it can be generated by the oatdump tool (based on the dex information). This CL adds logic to download this information and store it in the module cache. Differential revision: http://reviews.llvm.org/D11936 llvm-svn: 244738
* Refactor many file functions to use FileSpec over strings.Chaoren Lin2015-05-291-3/+2
| | | | | | | | | | | | | | | | | Summary: This should solve the issue of sending denormalized paths over gdb-remote if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the server handle any denormalization. Reviewers: ovyalov, zturner, vharron, clayborg Reviewed By: clayborg Subscribers: tberghammer, emaste, lldb-commits Differential Revision: http://reviews.llvm.org/D9728 llvm-svn: 238604
* Use hard links to link sysroot files within ModuleCache.Oleksiy Vyalov2015-05-081-33/+31
| | | | | | http://reviews.llvm.org/D9587 llvm-svn: 236917
* Use file locks to synchronize access to ModuleCache.Oleksiy Vyalov2015-05-071-28/+34
| | | | | | http://reviews.llvm.org/D9056 llvm-svn: 236736
* Add Modulecache::GetAndPut method which wraps sequence of Get and Put (if ↵Oleksiy Vyalov2015-04-151-0/+39
| | | | | | | | module wasn't found in cache) calls. http://reviews.llvm.org/D9013 llvm-svn: 235011
* Fix ModuleCache usage in Platform - ask remote platform for module's ↵Oleksiy Vyalov2015-03-241-1/+4
| | | | | | | | ModuleSpec beforehand so we can look for a module by UUID locally without need to download it. http://reviews.llvm.org/D8557 llvm-svn: 233136
* Make ModuleCache::Get to return instantiated ModuleSP instance so already ↵Oleksiy Vyalov2015-03-121-20/+29
| | | | | | | | created in-memory instance can be returned instead of creating a new one. http://reviews.llvm.org/D8270 llvm-svn: 232075
* Add Utility/ModuleCache class and integrate it with PlatformGDBRemoteServer ↵Oleksiy Vyalov2015-03-101-0/+132
- in order to allow modules caching from remote targets. http://reviews.llvm.org/D8037 llvm-svn: 231734
OpenPOWER on IntegriCloud