Details
Details
- Reviewers
labath aprantl - Commits
- rG905a7577c584: [lldb][test] TestDataFormatterCpp.py: set breakpoint after all locals have been…
rG110ce5ab7644: [lldb][test] TestDataFormatterCpp.py: split assertions failing on Windows
rG554f79e050cb: [lldb][test] TestDataFormatterCpp.py: add test-case for member function pointer…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py | ||
---|---|---|
301 | If this godbolt is right, then this won't work. Encoding of member pointers is abi-dependant, and it seems that MSVC encodes them as regular pointers to thunk functions (instead of these fancy tagged unions). Come to think of it... I'm not sure why everyone doesn't do it that way... |
lldb/test/API/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py | ||
---|---|---|
301 | Ah good point. Testing this here in this patch isn't necessary anyway. I'll add it back in the follow-up patches |
Comment Actions
You can keep it in, I think. Just don't assert the value of the last byte of the pointer.
Comment Actions
Ok it looks like this is still failing on Windows...
I can't repro it on my Windows machine either so I'll split this test out and skip it
If this godbolt is right, then this won't work. Encoding of member pointers is abi-dependant, and it seems that MSVC encodes them as regular pointers to thunk functions (instead of these fancy tagged unions).
Come to think of it... I'm not sure why everyone doesn't do it that way...