[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-03-25 Thread Konrad Wilhelm Kleine via Phabricator via lldb-commits
kwk requested changes to this revision. kwk added a comment. This revision now requires changes to proceed. I agree with @friss that there is a change in behavior. I'm not sure it is fixable with what I wrote but I think so. Comment at: lldb/include/lldb/Target/Language.h:191

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-08 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h:96-98 + bool IsMangledName(llvm::StringRef name) const override { +return false; + } friss wrote: > shafik wrote: > > xiaobai wrote: > > > friss wrote: > > > > The origi

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-07 Thread Frederic Riss via Phabricator via lldb-commits
friss added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h:96-98 + bool IsMangledName(llvm::StringRef name) const override { +return false; + } shafik wrote: > xiaobai wrote: > > friss wrote: > > > The original code was callin

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-07 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik added subscribers: mib, shafik. shafik added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h:96-98 + bool IsMangledName(llvm::StringRef name) const override { +return false; + } xiaobai wrote: > friss wrote: > > The orig

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-06 Thread Alex Langford via Phabricator via lldb-commits
xiaobai added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h:96-98 + bool IsMangledName(llvm::StringRef name) const override { +return false; + } friss wrote: > The original code was calling `IsPossibleObjCMethodName` and it l

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-06 Thread Frederic Riss via Phabricator via lldb-commits
friss added inline comments. Comment at: lldb/source/Plugins/Language/ObjC/ObjCLanguage.h:96-98 + bool IsMangledName(llvm::StringRef name) const override { +return false; + } The original code was calling `IsPossibleObjCMethodName` and it looks like you co

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-06 Thread Alex Langford via Phabricator via lldb-commits
xiaobai marked an inline comment as done. xiaobai added a comment. I uploaded this patch primarily to get some feedback on possible alternatives because I'm not happy creating a dependency from `Core` to `Target` here. Suggestions welcome! Comment at: lldb/source/Core/Mangled

[Lldb-commits] [PATCH] D74187: [lldb] Add method Language::IsMangledName

2020-02-06 Thread Alex Langford via Phabricator via lldb-commits
xiaobai created this revision. xiaobai added a reviewer: LLDB. Herald added a project: LLDB. Instead of asking each of the language plugins directly if a symbol is a possible manghled name for that language, we can generalize this pattern. By adding a method `IsMangledName` and iterating over each