未验证 提交 97c2e2f6 编写于 作者: A Anton Lapounov 提交者: GitHub

Fix profiling R2R code on Windows x64 (#54318)

The kernel requires the function table to be 4-byte aligned.
上级 96a4671b
......@@ -67,6 +67,7 @@ public override ObjectData GetData(NodeFactory factory, bool relocsOnly = false)
LayoutRuntimeFunctions();
ObjectDataBuilder runtimeFunctionsBuilder = new ObjectDataBuilder(factory, relocsOnly);
runtimeFunctionsBuilder.RequireInitialAlignment(4);
// Add the symbol representing this object node
runtimeFunctionsBuilder.AddSymbol(this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册