[all-commits] [llvm/llvm-project] 77edd9: [lldb] Refactor InstrumentationRuntimeAsan and add...

Usama Hameed via All-commits all-commits at lists.llvm.org
Wed Oct 25 12:53:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77edd9b77317d008b86a2543fbafdc0c3e8a3759
      https://github.com/llvm/llvm-project/commit/77edd9b77317d008b86a2543fbafdc0c3e8a3759
  Author: Usama Hameed <u_hameed at apple.com>
  Date:   2023-10-25 (Wed, 25 Oct 2023)

  Changed paths:
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/source/Plugins/InstrumentationRuntime/ASan/CMakeLists.txt
    M lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp
    M lldb/source/Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.h
    A lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/CMakeLists.txt
    A lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp
    A lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.h
    M lldb/source/Plugins/InstrumentationRuntime/CMakeLists.txt
    A lldb/source/Plugins/InstrumentationRuntime/Utility/CMakeLists.txt
    A lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp
    A lldb/source/Plugins/InstrumentationRuntime/Utility/ReportRetriever.h

  Log Message:
  -----------
  [lldb] Refactor InstrumentationRuntimeAsan and add a new plugin (#69388)

[lldb] Refactor InstrumentationRuntimeAsan and add a new plugin
InstrumentationRuntimeLibsanitizers.

This commit refactors InstrumentationRuntimeASan by pulling out reusable
code into a separate ReportRetriever class. The purpose of the
refactoring is to allow reuse of the ReportRetriever class in another
plugin.

The commit also adds InstrumentationRuntimeASanLibsanitizers, a new runtime
plugin for ASan. The plugin provides the same
functionality as InstrumentationRuntimeASan, but provides a different
set of symbols/library names to search for while activating the plugin.

rdar://112491689




More information about the All-commits mailing list