[Lldb-commits] [PATCH] D112310: [lldb/DWARF] Don't create lldb_private::Functions for gc'ed DW_TAG_subprograms

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 22 05:21:59 PDT 2021


labath created this revision.
labath added reviewers: clayborg, teemperor, shafik.
labath requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Herald added a project: LLDB.

Front-load the first_valid_code_address check, so that we avoid creating
the function object (instead of simply refusing to use it in queries).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112310

Files:
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParser.h
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
  lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
  lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  lldb/test/Shell/SymbolFile/DWARF/x86/dead-code-filtering.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112310.381517.patch
Type: text/x-patch
Size: 12343 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211022/006a7a5a/attachment.bin>


More information about the lldb-commits mailing list