[PATCH] D67398: [DebugInfo] LiveDebugValues: Move DBG_VALUE creation into VarLoc class
    Jeremy Morse via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Oct  4 03:35:16 PDT 2019
    
    
  
jmorse marked an inline comment as done.
jmorse added inline comments.
================
Comment at: lib/CodeGen/LiveDebugValues.cpp:333
+    // TRI can be null.
+    void dump(const TargetRegisterInfo *TRI, raw_ostream &Out = dbgs()) const {
+      dbgs() << "VarLoc(";
----------------
vsk wrote:
> Is the LLVM_ENABLE_DUMP guard still needed?
My understanding is that it exists to build-in dump methods when specified on a release build -- it's not necessary, but helpful if one is debugging a release, I think.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67398/new/
https://reviews.llvm.org/D67398
    
    
More information about the llvm-commits
mailing list