View source code
Display the source code in dmd/backend/cgobj.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Function dmd.backend.cgobj.OmfObj_comdatsize

Setup for Symbol s to go into a COMDAT segment. Output (if s is a function): cseg segment index of new current code segment Coffset starting offset in cseg

int OmfObj_comdatsize (
  dmd.backend.cc.Symbol* s,
  ulong symsize
) nothrow @safe;

Returns

"segment index" of COMDAT (which will be a negative value to distinguish it from regular segments).

Authors

Walter Bright

License

Boost License 1.0