3.1 Encoding Protocol and Producer Versions

The version note encodes the version of the Watermark specification used and the version of the tool used to generate the notes. Typically the protocol version will be 3 or 4 and the plugin version will be 11 or 12. It also encodes the tool used to generate the notes as a single character. The following characters are used:

L

The notes have been produced by the Clang plugin.

V

The notes have been produced by the LLVM plugin.

a

The notes have been produced by the assembler.

c

The notes have been produced by the gcc plugin for the .text.cold section.

e

The notes have been produced by the gcc plugin for the .text.exit section.

g

The notes have been produced by the gcc plugin when running in LTO mode.

h

The notes have been produced by the gcc plugin for the .text.hot section.

l

The notes have been produced by the linker.

p

The notes have been produced by the gcc plugin.

s

The notes have been produced by the gcc plugin for the .text.startup section.