[PATCH] D100388: [BROKEN][clang] Try to fix thunk function types

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 13 08:07:56 PDT 2021


lebedev.ri created this revision.
lebedev.ri added a reviewer: rsmith.
lebedev.ri added a project: LLVM.
Herald added subscribers: dexonsmith, cryptoad, mgorny, dschuff.
Herald added a reviewer: alexshap.
lebedev.ri requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1, aheejin.
Herald added a reviewer: jdoerfert.
Herald added a project: clang.

@rsmith this seems to work on the two testcases from D99790 <https://reviews.llvm.org/D99790>,
but apparently doesn't work on many more tests.
I don't know what i'm doing here.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100388

Files:
  clang/include/clang/AST/GlobalDecl.h
  clang/include/clang/AST/VTableBuilder.h
  clang/include/clang/Basic/ABI.h
  clang/lib/AST/ItaniumMangle.cpp
  clang/lib/AST/Mangle.cpp
  clang/lib/AST/MicrosoftMangle.cpp
  clang/lib/AST/VTableBuilder.cpp
  clang/lib/CodeGen/CGVTables.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGenCXX/thunk-linkonce-odr.cpp
  clang/test/CodeGenCXX/thunk-returning-memptr.cpp
  clang/test/CodeGenCXX/thunk-wrong-return-type.cpp
  clang/test/CodeGenCXX/thunk-wrong-this.cpp
  llvm/CMakeLists.txt.user.WORKING



More information about the llvm-commits mailing list