[all-commits] [llvm/llvm-project] 773f8d: [MC] Fix double negation of DW_CFA_def_cfa

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 22 21:03:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 773f8dbd1da8409f1b62e8c5692cb9a5d199d6c8
      https://github.com/llvm/llvm-project/commit/773f8dbd1da8409f1b62e8c5692cb9a5d199d6c8
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M llvm/lib/MC/MCDwarf.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
    M llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp

  Log Message:
  -----------
  [MC] Fix double negation of DW_CFA_def_cfa

Negations are incorrectly added in numerous places and the code just happens to work.
Also fix a missed DW_CFA_def_cfa_offset negation in c693b9c321d5a40d012340619674cf790c9ac86c:
ARMAsmBackendDarwin::generateCompactUnwindEncoding




More information about the All-commits mailing list