[all-commits] [llvm/llvm-project] 10aa0d: [compiler-rt] Fix compiler warnings and runtime er...

Dokyung Song via All-commits all-commits at lists.llvm.org
Mon Jul 13 15:36:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 10aa0d7bbc12bf86958bc40943e37b46c6eed04a
      https://github.com/llvm/llvm-project/commit/10aa0d7bbc12bf86958bc40943e37b46c6eed04a
  Author: Dokyung Song <dokyungs at google.com>
  Date:   2020-07-13 (Mon, 13 Jul 2020)

  Changed paths:
    M compiler-rt/test/msan/__strxfrm_l.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/strxfrm.c

  Log Message:
  -----------
  [compiler-rt] Fix compiler warnings and runtime errors in sanitizer RT strxfrm(_l) test cases.

Summary: Fixed an implicit definition warning by including <string.h>. Also fixed run-time assertions that the return value of strxfrm_l calls is less than the buffer size by increasing the size of the referenced buffer.

Reviewers: morehouse

Reviewed By: morehouse

Subscribers: dberris, #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D83593




More information about the All-commits mailing list