[all-commits] [llvm/llvm-project] 14670f: Add limited vtable address querying to `clang::Cod...

David Blaikie via All-commits all-commits at lists.llvm.org
Tue Jun 23 10:17:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14670fd9a949958eb4f157a58c34d6179b4bab77
      https://github.com/llvm/llvm-project/commit/14670fd9a949958eb4f157a58c34d6179b4bab77
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M clang/include/clang/CodeGen/ModuleBuilder.h
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/unittests/CodeGen/CodeGenExternalTest.cpp

  Log Message:
  -----------
  Add limited vtable address querying to `clang::CodeGenerator` (#202807)

This is being used in Carbon (
https://github.com/carbon-language/carbon-lang/pull/7323 ) to implement
cross-language overriding.

I realize this isn't the fully general feature needed for virtual bases,
etc - but this limited functionality is already wrapped up for, if I
understand it correctly, constexpr use cases and some others. So
hopefully it's still something folks feel is general enough to be
worthwhile exporting. For now Carbon doesn't support deriving from a
type with virtual bases, so the extra complexity isn't needed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list