Skip to content

Commit ec7c358

Browse files
committed
[lldb/ObjectFile] Fix missing swift condition.
1 parent 27dfa24 commit ec7c358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1879,7 +1879,7 @@ class MachSymtabSectionInfo {
18791879

18801880
Host::SystemLog(Host::eSystemLogError,
18811881
"error: unable to find section %d for a symbol in %s, corrupt file?\n",
1882-
n_sect,
1882+
n_sect,
18831883
filename);
18841884
}
18851885
}
@@ -4421,6 +4421,7 @@ size_t ObjectFileMachO::ParseSymtab() {
44214421

44224422
if (symbol_name && symbol_name[0] == '_') {
44234423
symbol_name_is_mangled = symbol_name[1] == '_';
4424+
symbol_name_is_mangled |= symbol_name[1] == '$';
44244425
symbol_name++; // Skip the leading underscore
44254426
}
44264427

0 commit comments

Comments
 (0)