[PATCH] D59571: [Remarks] Emit a section containing remark diagnostics metadata
Francis Visoiu Mistrih via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 17:40:22 PDT 2019
thegameg created this revision.
thegameg added reviewers: paquette, anemet, JDevlieghere, hfinkel, fhahn.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
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
https://reviews.llvm.org/D59571
Files:
llvm/docs/CodeGenerator.rst
llvm/docs/CommandGuide/llc.rst
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/include/llvm/Remarks/Remark.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59571.191424.patch
Type: text/x-patch
Size: 6647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190320/f6fad06d/attachment.bin>
More information about the llvm-commits
mailing list