Author: kcc Date: Wed Aug 17 20:26:36 2016 New Revision: 279028 URL: http://llvm.org/viewvc/llvm-project?rev=279028&view=rev Log: [sanitizer-coverag] update the docs in __sanitizer_cov_trace_cmp
Modified: cfe/trunk/docs/SanitizerCoverage.rst Modified: cfe/trunk/docs/SanitizerCoverage.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/SanitizerCoverage.rst?rev=279028&r1=279027&r2=279028&view=diff ============================================================================== --- cfe/trunk/docs/SanitizerCoverage.rst (original) +++ cfe/trunk/docs/SanitizerCoverage.rst Wed Aug 17 20:26:36 2016 @@ -333,11 +333,11 @@ they will be called by the instrumented .. 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. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits