[Bug 45998] New: volatile lead to inconsistent behaviors between step-by-step and stepi-by-stepi in lldb

Bug ID 45998
Summary volatile lead to inconsistent behaviors between step-by-step and stepi-by-stepi in lldb
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter yangyibiao@hust.edu.cn
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

labath@google.com changed bug 45998

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |
    Resolution | — | WONTFIX |

Comment # 5 on bug 45998 from labath@google.com

I agree with Jim's analysis. Closing as working-as-intended.

If you're using some sort of automated tool to generate these test cases, maybe
you could teach it to ignore/coalesce the source-level stops that don't
actually end up moving the program counter?