[all-commits] [llvm/llvm-project] 29663e: [clang][CodeGen] Account for VTT address space

Alex Voicu via All-commits all-commits at lists.llvm.org
Sun Jun 4 19:06:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29663e2b8c4edcd850a4245b1f9509f974220906
      https://github.com/llvm/llvm-project/commit/29663e2b8c4edcd850a4245b1f9509f974220906
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    A clang/test/CodeGenCXX/vtt-address-space.cpp

  Log Message:
  -----------
  [clang][CodeGen] Account for VTT address space

Correctly account for the fact that certain targets do not use the generic address space for the implicit VTT argument. This entails adjusting `ItaniumCXXABI::buildStructorSignature`, `ItaniumCXXABI::addImplicitStructorParams` and `ItaniumCXXABI::getImplicitConstructorArgs` to use the target's global variable address space. The associated test is temporarily marked `XFAIL` as additional fixes are needed.

Reviewed By: rjmccall

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




More information about the All-commits mailing list