[PATCH] D139864: [llvm-cxxfilt]  Do not consider the prefix dot as part of the demangled symbol name.
    Fangrui Song via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 25 12:46:31 PDT 2023
    
    
  
MaskRay added a comment.
Thanks for the update. Doing the following looks good to me.
  bool CanHaveLeadingDot = true;
  if (StripUnderscore)
    if (DecoratedStr[0].consume_front("_")) // simplified
      CanHaveLeadingDot = false;
  
  std::string Result;
  if (nonMicrosoftDemangle(DecoratedStr, Result, CanHaveLeadingDot))
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139864/new/
https://reviews.llvm.org/D139864
    
    
More information about the llvm-commits
mailing list