diff options
| author | Kostya Serebryany <kcc@google.com> | 2016-08-18 01:26:36 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2016-08-18 01:26:36 +0000 |
| commit | 070bcb0d681a8c6e4c1c373a7fa1fc62175bca65 (patch) | |
| tree | 5f6e745eed493ba29688f44c365ae9c01950c567 | |
| parent | 524c3f32e7164a1b1796cb2342207c1012c54cdc (diff) | |
| download | bcm5719-llvm-070bcb0d681a8c6e4c1c373a7fa1fc62175bca65.tar.gz bcm5719-llvm-070bcb0d681a8c6e4c1c373a7fa1fc62175bca65.zip | |
[sanitizer-coverag] update the docs in __sanitizer_cov_trace_cmp
llvm-svn: 279028
| -rw-r--r-- | clang/docs/SanitizerCoverage.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index f7ec65fdd15..1e506fc89fd 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -333,11 +333,11 @@ they will be called by the instrumented code. .. code-block:: c++ // Called before a comparison instruction. - // SizeAndType is a packed value containing - // - [63:32] the Size of the operands of comparison in bits - // - [31:0] the Type of comparison (one of ICMP_EQ, ... ICMP_SLE) // Arg1 and Arg2 are arguments of the comparison. - void __sanitizer_cov_trace_cmp(uint64_t SizeAndType, uint64_t Arg1, uint64_t Arg2); + void __sanitizer_cov_trace_cmp1(uint8_t Arg1, uint8_t Arg2); + void __sanitizer_cov_trace_cmp2(uint16_t Arg1, uint16_t Arg2); + void __sanitizer_cov_trace_cmp4(uint32_t Arg1, uint32_t Arg2); + void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint64_t Arg2); // Called before a switch statement. // Val is the switch operand. |

