[all-commits] [llvm/llvm-project] d7a47a: Desist from passing function location to __msan_se...

kda via All-commits all-commits at lists.llvm.org
Wed Aug 10 09:03:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7a47a9bb5bd9f9b292e4f11184942936e2b1fc0
      https://github.com/llvm/llvm-project/commit/d7a47a9bb5bd9f9b292e4f11184942936e2b1fc0
  Author: Kevin Athey <kda at google.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M compiler-rt/lib/msan/msan.cpp
    M compiler-rt/test/msan/chained_origin.cpp
    M compiler-rt/test/msan/chained_origin_memcpy.cpp
    M compiler-rt/test/msan/chained_origin_memmove.cpp
    M compiler-rt/test/msan/msan_print_shadow.cpp
    M compiler-rt/test/msan/report-demangling.cpp
    M compiler-rt/test/msan/stack-origin.cpp
    M compiler-rt/test/msan/stack-origin2.cpp
    M compiler-rt/test/msan/unaligned_read_origin.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/test/Instrumentation/MemorySanitizer/alloca.ll

  Log Message:
  -----------
  Desist from passing function location to __msan_set_alloca_origin4.

This is done by calling __msan_set_alloca_origin and providing the location of the variable by using the call stack.
This is prepatory work for dropping variable names when track-origins is enabled.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list