[PATCH] D130407: [IR] Fixed ambiguous call to llvm::report_fatal_error
    Sergei Barannikov via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jul 22 18:37:50 PDT 2022
    
    
  
barannikov88 added inline comments.
================
Comment at: llvm/lib/IR/GCStrategy.cpp:37
   } else
-    report_fatal_error(std::string("unsupported GC: ") + Name.str());
+    report_fatal_error(Twine(std::string("unsupported GC: ") + Name.str()));
 }
----------------
Please include the missing header. It is the reason why this error was not caught earlier.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130407/new/
https://reviews.llvm.org/D130407
    
    
More information about the llvm-commits
mailing list