Page MenuHomePhabricator

D61759.diff
No OneTemporary

File Metadata

Created
Wed, Apr 8, 12:53 PM

D61759.diff

Index: source/Target/CPPLanguageRuntime.cpp
===================================================================
--- source/Target/CPPLanguageRuntime.cpp
+++ source/Target/CPPLanguageRuntime.cpp
@@ -241,8 +241,8 @@
SymbolContextList scl;
- target.GetImages().FindFunctions(RegularExpression{func_to_match}, true, true,
- true, scl);
+ target.GetImages().FindSymbolsMatchingRegExAndType(
+ RegularExpression{R"(^)" + func_to_match}, eSymbolTypeAny, scl, true);
// Case 1,2 or 3
if (scl.GetSize() >= 1) {

Event Timeline