[torque]: Export methods for Torque @export-ed C++ classes

This fix is a bit of overkill, but ensures that verifier methods are
available across library boundaries.

Change-Id: I120560f8e8e0be0ffcba43b46197efca4db0a62c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2141739
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Daniel Clifford <danno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67063}
This commit is contained in:
Daniel Clifford 2020-04-08 14:28:38 +02:00 committed by Commit Bot
parent d5f07e76f8
commit 6e11cfdc29

View File

@ -4384,7 +4384,7 @@ void ImplementationVisitor::GenerateClassVerifiers(
const char* verifier_class = "TorqueGeneratedClassVerifiers";
h_contents << "class " << verifier_class << "{\n";
h_contents << "class V8_EXPORT_PRIVATE " << verifier_class << "{\n";
h_contents << " public:\n";
for (const ClassType* type : TypeOracle::GetClasses()) {