[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:16:26 PDT 2022


MaskRay added a comment.

Nice. This also fixes DW_AT_call_all_calls for functions which call builtins/reserved name functions.



================
Comment at: llvm/test/Verifier/callsite-dbgloc.ll:49
+; CHECK-NOT: inlinable function call in a function with debug info must have a !dbg location
+; CHECK-NOT: @i
+  call void (...) @i()
----------------
to not match other functions named `@i*`


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