[all-commits] [llvm/llvm-project] f385ab: [Clang][CodeGen] Follow-up for `vtable`, `typeinfo...

Alex Voicu via All-commits all-commits at lists.llvm.org
Wed Jul 19 15:58:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f385abf131e01b12b14ac3bc7214eb119b40523e
      https://github.com/llvm/llvm-project/commit/f385abf131e01b12b14ac3bc7214eb119b40523e
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    A clang/test/CodeGenCXX/throw-expression-typeinfo-in-address-space.cpp

  Log Message:
  -----------
  [Clang][CodeGen] Follow-up for `vtable`, `typeinfo` et al. are globals

https://reviews.llvm.org/rG8acdcf4016876d122733991561be706b64026e73 didn't include handling for the fact that `throw`'s implementation takes a pointer to a type's `typeinfo` struct, which implies that its signature needs to change as well. This corrects that and adds a test.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D155759




More information about the All-commits mailing list