SuccessChanges

Summary

  1. [lldb][asan] Mark destructor as virtual to allow subclasses. (details)
  2. [NFC] Expose the -Oz module optimization pipeline to opt (details)
Commit 0de3d0c61266675cd5e688a09e02124518e01935 by rupprecht
[lldb][asan] Mark destructor as virtual to allow subclasses.

`lldb_private::ScriptInterpreterPython::CommandDataPython` inherits from `lldb_private::BreakpointOptions::CommandData`, but the latter does not have a virtual destructor. This leads to a new-delete-type-mismatch error when running certain tests (such as `functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py`) under asan.
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointOptions.h (diff)
Commit 364cd768a2764211ec0cbcf0c0bdbe4d8f4565b9 by mtrofin
[NFC] Expose the -Oz module optimization pipeline to opt

This exposes the module optimization pipeline as a pass that can be
applied stand-alone when using 'opt'. This helps ml inliner training
scenarios, where we start with IR captured right before inlining,
perform the inlining (-scc-oz-module-inliner) and then want to continue
and observe the final IR (where this patch comes into play). We can then
apply llc on the resulting IR to continue compilation down to native.

Differential Revision: https://reviews.llvm.org/D86224
The file was modifiedllvm/lib/Passes/PassRegistry.def (diff)