Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ public override ObjectData GetData(NodeFactory factory, bool relocsOnly = false)
{
var builder = new ObjectDataBuilder(factory, relocsOnly);

// These need to be aligned the same as method pointers because they show up in same contexts
// These need to be aligned the same as method bodies because they show up in same contexts
// (macOS ARM64 has even stricter alignment requirement for the linker, so round up to pointer size)
Debug.Assert(factory.Target.MinimumFunctionAlignment <= factory.Target.PointerSize);
builder.RequireInitialAlignment(factory.Target.PointerSize);

builder.AddSymbol(this);
Expand Down