[PATCH] D136041: [clang][DebugInfo] Emit DISubprogram for extern functions with reserved names

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 18:39:53 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/IR/Verifier.cpp:3473
       !Call.getCalledFunction()->isInterposable() &&
+      !Call.getCalledFunction()->isDeclaration() &&
       Call.getCalledFunction()->getSubprogram())
----------------
Removing this check does not break any `check-llvm check-clang` test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136041/new/

https://reviews.llvm.org/D136041



More information about the cfe-commits mailing list