[all-commits] [llvm/llvm-project] c6f214: Reland "[DFSan] Handle fast16labels for all API fu...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Thu Jul 23 14:20:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c6f21424288971b976b987eacb094be5038aa328
      https://github.com/llvm/llvm-project/commit/c6f21424288971b976b987eacb094be5038aa328
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2020-07-23 (Thu, 23 Jul 2020)

  Changed paths:
    M compiler-rt/lib/dfsan/dfsan.cpp
    M compiler-rt/test/dfsan/fast16labels.c

  Log Message:
  -----------
  Reland "[DFSan] Handle fast16labels for all API functions."

Support fast16labels in `dfsan_has_label`, and print an error for all
other API functions.  For `dfsan_dump_labels` we return silently rather
than crashing since it is also called from the atexit handler where it
is undefined behavior to call exit() again.

Reviewed By: kcc

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




More information about the All-commits mailing list