[PATCH] D77244: [part 1] sancov/inline-bool-flag instrumentation.
Pratyai Mazumder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 8 22:07:34 PDT 2020
pratyai updated this revision to Diff 256182.
pratyai added a comment.
Adjusted the diff in the change (`align 1` is dropped from the llvm instruction of the CHECK). The reason is that it does not get set until setAlignment is explicitly called (ref: https://llvm.org/doxygen/Instructions_8cpp_source.html#l01421). From https://llvm.org/docs/LangRef.html#global-variables
> If not present, or if the alignment is set to zero, the alignment of the global is set by the target to whatever it feels convenient. If an explicit alignment is specified, the global is forced to have exactly that alignment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77244/new/
https://reviews.llvm.org/D77244
Files:
llvm/include/llvm/Transforms/Instrumentation.h
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/test/Instrumentation/SanitizerCoverage/coff-pc-table-inline-bool-flag.ll
llvm/test/Instrumentation/SanitizerCoverage/inline-bool-flag.ll
llvm/test/Instrumentation/SanitizerCoverage/pc-table.ll
llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-inline-bool-flag.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77244.256182.patch
Type: text/x-patch
Size: 12677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200409/1f3493d2/attachment-0001.bin>
More information about the cfe-commits
mailing list