summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CodeGenerator.rst
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-27 01:13:59 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-27 01:13:59 +0000
commitee1a6e70fa555a305bfc56b1743e98b2a615f05c (patch)
treed2d35e79ca287de592ed9e2e9226a1bc63329d1e /llvm/docs/CodeGenerator.rst
parent8b106be2c7c5d370c222111262035ed05c532fd8 (diff)
downloadbcm5719-llvm-ee1a6e70fa555a305bfc56b1743e98b2a615f05c.tar.gz
bcm5719-llvm-ee1a6e70fa555a305bfc56b1743e98b2a615f05c.zip
[Remarks] Emit a section containing remark diagnostics metadata
A section containing metadata on remark diagnostics will be emitted if the flag (-mllvm) -remarks-section is present. For now, the metadata is: * a magic number for remarks: "REMARKS\0" * the version number: a little-endian uint64_t * the absolute file path to the serialized remark diagnostics: a null-terminated string. Differential Revision: https://reviews.llvm.org/D59571 llvm-svn: 357043
Diffstat (limited to 'llvm/docs/CodeGenerator.rst')
-rw-r--r--llvm/docs/CodeGenerator.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst
index c0e3d53e969..094bd05adb6 100644
--- a/llvm/docs/CodeGenerator.rst
+++ b/llvm/docs/CodeGenerator.rst
@@ -1589,6 +1589,17 @@ and stack sizes (unsigned LEB128). The stack size values only include the space
allocated in the function prologue. Functions with dynamic stack allocations are
not included.
+Emitting remark diagnostics in the object file
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+A section containing metadata on remark diagnostics will be emitted when
+-remarks-section is passed. The section contains:
+
+* a magic number: "REMARKS\0"
+* the version number: a little-endian uint64_t
+* the absolute file path to the serialized remark diagnostics: a
+ null-terminated string.
+
VLIW Packetizer
---------------
OpenPOWER on IntegriCloud