diff options
author | Pavel Labath <pavel@labath.sk> | 2019-05-14 12:44:40 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-05-14 12:44:40 +0000 |
commit | 62f5b591f4f3b995f2eb1dec416a8731e5e408d8 (patch) | |
tree | eab79c8d339c86d292576136c27513456271938f /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp | |
parent | 2e9591c23a930e4a0c8daa8e88ebbae7048b3f77 (diff) | |
download | bcm5719-llvm-62f5b591f4f3b995f2eb1dec416a8731e5e408d8.tar.gz bcm5719-llvm-62f5b591f4f3b995f2eb1dec416a8731e5e408d8.zip |
DWARF/NFC: Centralize DIERef conversions
apple and manual indexing code were creating a DIERef in a bunch of
places. Though the code itself is not much, it is also easy to simplify
by factoring out the DIERef creation. In HashedNameToDIE I create a
conversion operator from DIEInfo to DIERef, and in ManualDWARFIndex I
just create the DIERef in a global variable up-front.
This also reduces the diff in follow-up patches which change how DIERefs
are constructed.
llvm-svn: 360669
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions