[Lldb-commits] [PATCH] D67227: [lldb] Extend and document	TestIRInterpreter.py
    Shafik Yaghmour via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu Sep  5 09:30:22 PDT 2019
    
    
  
shafik added inline comments.
================
Comment at: lldb/packages/Python/lldbsuite/test/commands/expression/ir-interpreter/TestIRInterpreter.py:54
+                # Shifting longer than size of a type also doesn't work.
+                if rhs.value <= 0 or rhs.value >= 7:
+                    return False
----------------
I may be missing something here but this looks like it should be `32` instead of `7` or rather `sizeof(int)*8`
When we say doesn't work do we mean undefined behavior?
Repository:
  rLLDB LLDB
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67227/new/
https://reviews.llvm.org/D67227
    
    
More information about the lldb-commits
mailing list