Bug ID 37301
Summary Unable to display statically initialized pointers on arm64 (linux?) without a running process
Component All Bugs
This happens because the pointer, even though "initialized" statically, will leave behind a runtime relocation (at least for PIC) to be fixed up by the dynamic linker. When lldb goes to read the value of the variable from the object file, it just sees a zero. On other architectures this works, though mostly by luck as the linker uses a relocation without an explicit addend, so the value in the object file happens to be the right pointer without the relocation applied (this applies mainly to ELF, I don't know whether we have better relocation handling for MachO).