haskus-system-0.7.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Format.Elf.Intel

Description

Intel specific ELF additions . ZCA tables ========== . ICC (Intel C Compiler) can generate an optimization report with the opt-report-* family of flags. To make the correspondance between the information in the generated file and the produced binary, a debug section called ".debug_opt_report is added to the latter.

In [1], an old version (1.1) of the structure of this section is described in the context of Cilk. In this version, the name of the section was ".itt_notify_tab". Tables found in this section are called ZCA tables.

As of ICC 16.0.0, the basic header of the structure is the same and the version is now 2.1. The other fields, however, are different: different sizes, order, etc. As we don't have a specification, their meaning has been inferred by observation and may be subject to errors. Please report them to us!

1
https://www.cilkplus.org/sites/default/files/open_specifications/LowOverheadAnnotations.pdf

Synopsis

Documentation

data ZCATable Source #

ZCA table

data ZCATableHeader Source #

ZCA table header

Constructors

ZCATableHeader 

Fields

data ZCATableEntry Source #

ZCA table entry

Constructors

ZCATableEntry 

Fields

getZCATableHeader :: Get ZCATableHeader Source #

Getter for a ZcA table header

getZCATableEntry :: Map Int Text -> Get ZCATableEntry Source #

Getter for a table entry