MCPcopy Create free account
hub / github.com/beefytech/Beef / AlignConst

Method AlignConst

IDEHelper/Backend/BeCOFFObject.cpp:1832–1837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830}
1831
1832void BeCOFFObject::AlignConst(BeCOFFSection& sect, BeConstant* constVal)
1833{
1834 auto beType = constVal->GetType();
1835 sect.mAlign = BF_MAX(sect.mAlign, beType->mAlign);
1836 sect.mData.Align(beType->mAlign);
1837}
1838
1839void BeCOFFObject::WriteConst(BeCOFFSection& sect, BeConstant* constVal)
1840{

Callers

nothing calls this directly

Calls 2

AlignMethod · 0.80
GetTypeMethod · 0.45

Tested by

no test coverage detected