SuccessChanges

Summary

  1. [cfi] Add flag to always generate .debug_frame (details)
  2. [lldb] Fix offset intersection bug between MPX and AVX registers (details)
Commit 92aa0c2dbcb723d102c508f6e7559330b637f912 by david.candler
[cfi] Add flag to always generate .debug_frame
This adds a flag to LLVM and clang to always generate a .debug_frame
section, even if other debug information is not being generated. In
situations where .eh_frame would normally be emitted, both .debug_frame
and .eh_frame will be used.
Differential Revision: https://reviews.llvm.org/D67216
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was addedllvm/test/CodeGen/ARM/dwarf-frame.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was addedclang/test/Driver/fforce-dwarf-frame.c
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
The file was modifiedllvm/lib/CodeGen/CFIInstrInserter.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/lib/Target/ARC/ARCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/MachineFunction.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFunction.h
The file was modifiedllvm/lib/Target/XCore/XCoreRegisterInfo.cpp
The file was modifiedllvm/include/llvm/Target/TargetOptions.h
The file was modifiedllvm/include/llvm/CodeGen/CommandFlags.inc
Commit e46c6644db8432584e82ef7ddfc9d0f36543f205 by pavel
[lldb] Fix offset intersection bug between MPX and AVX registers
Summary: This change increases the offset of MPX registers (by 128) so
they do not overlap with the offset associated with AVX registers. That
was causing MPX data in GDBRemoteRegisterContext::m_reg_data to get
overwritten.
Reviewers: labath
Reviewed By: labath
Subscribers: JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68874
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/register/register/intel_xtended_registers/mpx_offset_intersection/TestMPXOffsetIntersection.py
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/register/register/intel_xtended_registers/mpx_offset_intersection/Makefile
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
The file was addedlldb/packages/Python/lldbsuite/test/commands/register/register/intel_xtended_registers/mpx_offset_intersection/main.cpp
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux.cpp