[Lldb-commits] [PATCH] D15326: Rework breakpoint language filtering to use the symbol context's language.

Dawn Perchik via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 7 23:46:47 PST 2015


dawn created this revision.
dawn added a reviewer: jingham.
dawn added a subscriber: lldb-commits.
dawn set the repository for this revision to rL LLVM.

This patch reworks the breakpoint filter-by-language patch to use the symbol context instead of trying to guess the language solely from the symbol's name.  This has the advantage that symbols compiled with debug info will have their actual language known.  Symbols without debug info will still do the same "guess"ing because Symbol::GetLanguage() is implemented using Mangled::GuessLanguage().  The recognition of ObjC names was merged into Mangled::GuessLanguage.

Repository:
  rL LLVM

http://reviews.llvm.org/D15326

Files:
  include/lldb/Symbol/SymbolContext.h
  include/lldb/Target/Language.h
  include/lldb/Target/LanguageRuntime.h
  source/Breakpoint/BreakpointResolverName.cpp
  source/Core/Mangled.cpp
  source/Symbol/SymbolContext.cpp
  source/Target/Language.cpp
  source/Target/LanguageRuntime.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15326.42142.patch
Type: text/x-patch
Size: 10979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151208/ff646fd8/attachment.bin>


More information about the lldb-commits mailing list