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

Method DbgTAlign

IDEHelper/Backend/BeCOFFObject.cpp:535–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535void BeCOFFObject::DbgTAlign()
536{
537 int curPos = mDebugTSect.mData.GetPos();
538 // Perform alignment
539 int addPadding = (4 - (curPos & 3)) % 4;
540 while (addPadding > 0)
541 {
542 mDebugTSect.mData.Write((uint8)(0xF0 + addPadding));
543 addPadding--;
544 }
545}
546
547void BeCOFFObject::DbgTStartTag()
548{

Callers

nothing calls this directly

Calls 2

GetPosMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected