Why is xcode/lldb/x86 not executing this correctly?
Swift program runs well. In generated code for swift_rt_swift_release, you find: SystemSensor`swift_rt_swift_release: -> 0x100002c22 <+18>: leaq 0x91573f(%rip), %rax ; _swift_release 0x100002c29 <+25>: movq (%rsp), %rdi 0x100002c2d <+29>: callq *(%rax) I can set a breakpoint at the leaq instruction and use si to step and it works peachy. However, if I run the program for a bit, hit a breakpoint in the source and then single-step through the source, eventually the indirect callq will break on an invalid address. The leaq instruction >should< be doing nothing more than adding the value of rip (of the next instruction) to 0x91573f. My math says that's 0x0000000100918368. Yet, (lldb) reg wri rip 0x100002c22 (lldb) si (lldb) reg read General Purpose Registers: rax = 0x00000000cc918368 ... And, it seems like this is a permanent change: if I set rax to the correct value and continue, it will break (with invalid address) at the same place with the same bad value. This is quite reproducible. Oddly, the difference between the correct and the incorrect values of rax is 0x0000000034000000 I'm at a loss, here. Any ideas? macbook pro/macos 10.12.4/xcode 8.3.2
Xcode 3/4 Compatibility when referencing static libraries
Table View edit add rows with modal view Xcode 4.2
How to generate a default record in an entity (Core Data)?
why viewWillAppear does not get called?
Is there a difference between using properties declared in a class extension and associated storage?
XCode: “Generating dSYM file” step is repeated on every application run
change color tabbar icons iOS 5
Ignore all warnings in a specific file using LLVM/Clang
Xcode/iOS5: Show UIDatePicker when UITextField is pressed (+ hide default keyboard)
NSButton - Gray rectangle whenever the custom button is clicked
how to parse json multi dimenstional array in titanium or xcode
CoreData in one single separate thread
Can I get the iOS 5 SDK on Xcode 3.2.6?
How can I install Xcode 4.1 when 4.2 is already out and everywhere?
How to use UIPickerview in xcode 4.2 storyboard?
I want convert from string to date