Revert "Generating assumption loads of vptr after ctor call (fixed)"
It seems that there is small bug, and we can't generate assume loads when some virtual functions have internal visibiliy This reverts commit 982bb7d9. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247332 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- lib/CodeGen/CGCXXABI.h 8 additions, 22 deletionslib/CodeGen/CGCXXABI.h
- lib/CodeGen/CGCall.cpp 1 addition, 2 deletionslib/CodeGen/CGCall.cpp
- lib/CodeGen/CGClass.cpp 47 additions, 87 deletionslib/CodeGen/CGClass.cpp
- lib/CodeGen/CGVTables.cpp 3 additions, 3 deletionslib/CodeGen/CGVTables.cpp
- lib/CodeGen/CodeGenFunction.h 13 additions, 27 deletionslib/CodeGen/CodeGenFunction.h
- lib/CodeGen/ItaniumCXXABI.cpp 35 additions, 60 deletionslib/CodeGen/ItaniumCXXABI.cpp
- lib/CodeGen/MicrosoftCXXABI.cpp 17 additions, 37 deletionslib/CodeGen/MicrosoftCXXABI.cpp
- test/CodeGen/available-externally-hidden.cpp 1 addition, 1 deletiontest/CodeGen/available-externally-hidden.cpp
- test/CodeGenCXX/ctor-globalopt.cpp 2 additions, 2 deletionstest/CodeGenCXX/ctor-globalopt.cpp
- test/CodeGenCXX/thunks.cpp 7 additions, 23 deletionstest/CodeGenCXX/thunks.cpp
- test/CodeGenCXX/virtual-base-ctor.cpp 1 addition, 1 deletiontest/CodeGenCXX/virtual-base-ctor.cpp
- test/CodeGenCXX/vtable-assume-load.cpp 0 additions, 293 deletionstest/CodeGenCXX/vtable-assume-load.cpp
- test/CodeGenCXX/vtable-available-externally.cpp 13 additions, 12 deletionstest/CodeGenCXX/vtable-available-externally.cpp
Loading
Please register or sign in to comment