diff options
author | Antonio Afonso <antonio.afonso@gmail.com> | 2019-06-14 21:15:08 +0000 |
---|---|---|
committer | Antonio Afonso <antonio.afonso@gmail.com> | 2019-06-14 21:15:08 +0000 |
commit | f4335b8e3c6a787e3616f3b0ccdfd64409eaf149 (patch) | |
tree | 7fbcb3e390df5c927ba9738f46368d251af2928d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2de984cd3046de0ec6b9557721a08688beadf7e2 (diff) | |
download | llvm-f4335b8e3c6a787e3616f3b0ccdfd64409eaf149.zip llvm-f4335b8e3c6a787e3616f3b0ccdfd64409eaf149.tar.gz llvm-f4335b8e3c6a787e3616f3b0ccdfd64409eaf149.tar.bz2 |
Implement GetSharedLibraryInfoAddress
Summary:
This is the third patch to improve module loading in a series that started here (where I explain the motivation and solution): D62499
Add functions to read the r_debug location to know where the linked list of loaded libraries are so I can generate the `xfer:libraries-svr4` packet.
I'm also using this function to implement `GetSharedLibraryInfoAddress` that was "not implemented" for linux.
Most of this code was inspired by the current ds2 implementation here: https://github.com/facebook/ds2/blob/master/Sources/Target/POSIX/ELFProcess.cpp.
Reviewers: clayborg, xiaobai, labath
Reviewed By: clayborg, labath
Subscribers: emaste, krytarowski, mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D62501
llvm-svn: 363458
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions