Skip to content

Commit bb79c0b

Browse files
authored
Merge pull request #19715 from eeckstein/improve-swift-demangle
2 parents dfed279 + 8997a0e commit bb79c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/swift-demangle/swift-demangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ int main(int argc, char **argv) {
212212
} else {
213213
swift::Demangle::Context DCtx;
214214
for (llvm::StringRef name : InputNames) {
215-
if (name.startswith("S")) {
215+
if (name.startswith("S") || name.startswith("s") ) {
216216
std::string correctedName = std::string("$") + name.str();
217217
demangle(llvm::outs(), correctedName, DCtx, options);
218218
} else {

0 commit comments

Comments
 (0)