summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llc.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/CommandGuide/llc.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/CommandGuide/llc.rst')
-rw-r--r--llvm/docs/CommandGuide/llc.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llc.rst b/llvm/docs/CommandGuide/llc.rst
index da096f1263a..aaf7e2e6b77 100644
--- a/llvm/docs/CommandGuide/llc.rst
+++ b/llvm/docs/CommandGuide/llc.rst
@@ -140,6 +140,10 @@ End-user Options
in the function prologue. Functions with dynamic stack allocations are not
included.
+.. option:: -remarks-section
+
+ Emit the .remarks (ELF) / __remarks (MachO) section which contains metadata
+ about remark diagnostics.
Tuning/Configuration Options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenPOWER on IntegriCloud