Merge "Update to use clang-r399163."

This commit is contained in:
Stephen Hines
2020-09-23 05:28:48 +00:00
committed by Gerrit Code Review
2 changed files with 5 additions and 4 deletions

View File

@@ -15,5 +15,5 @@
# limitations under the License.
export LLVM_BUILD_HOST_TOOLS=true
export LLVM_PREBUILTS_VERSION=clang-r383902b
export LLVM_RELEASE_VERSION=11.0.2
export LLVM_PREBUILTS_VERSION=clang-r399163
export LLVM_RELEASE_VERSION=11.0.4

View File

@@ -743,8 +743,9 @@ repr::VTableComponentIR RecordDeclWrapper::SetupRecordVTableComponent(
}
if (thunk_info.isEmpty()) {
mangle_contextp_->mangleCXXDtor(
vtable_component.getDestructorDecl(), dtor_type, ostream);
auto GD = clang::GlobalDecl(
vtable_component.getDestructorDecl(), dtor_type);
mangle_contextp_->mangleName(GD, ostream);
} else {
mangle_contextp_->mangleCXXDtorThunk(
vtable_component.getDestructorDecl(), dtor_type,