================
@@ -1670,13 +1670,14 @@ lldb::ValueObjectSP DoGuessValueAt(StackFrame &frame, 
ConstString reg,
         break;
       case Instruction::Operand::Type::Immediate: {
----------------
DavidSpickett wrote:

What exactly is an immediate here? It's not a literal value, if it were we 
wouldn't load anything from anywhere. So it's going to be some address or 
offset from something, that then points to a value, correct?

And the file address is relative to the normal location of the file in memory, 
or maybe to the file itself. Either way, we can know where it was loaded to and 
correct for that, which handles anything ALSR may move about. Right?

https://github.com/llvm/llvm-project/pull/128512
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to