[all-commits] [llvm/llvm-project] 4cc5a9: MC: mark `dump` with	`LLVM_DUMP_METHOD`
    Saleem Abdulrasool via All-commits 
    all-commits at lists.llvm.org
       
    Thu May 27 10:48:12 PDT 2021
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4cc5a971010efd48c60820b17c8de8ed086aa45f
      https://github.com/llvm/llvm-project/commit/4cc5a971010efd48c60820b17c8de8ed086aa45f
  Author: Saleem Abdulrasool <abdulras at google.com>
  Date:   2021-05-27 (Thu, 27 May 2021)
  Changed paths:
    M llvm/include/llvm/MC/MCELFObjectWriter.h
  Log Message:
  -----------
  MC: mark `dump` with `LLVM_DUMP_METHOD`
Mark the `ELFRelocationEntry::dump` method as `LLVM_DUMP_METHOD` to
annotate it properly as used to prevent the function being dead stripped
away.  This allows use of `dump` in the debugger.  This is purely to
improve the developer experience.
    
    
More information about the All-commits
mailing list