search for: n_ab

Displaying 3 results from an estimated 3 matches for "n_ab".

Did you mean: nab
2014 May 28
2
[LLVMdev] MCJIT Mach-O JIT debugging
Hello, I'm finally getting back to getting JIT debugging work for MCJIT. This has worked for ELF for a while in LLVM and support in lldb was added in January (for ELF). I'm now trying to add support for Mach-O and would appreciate some feedback (though I'm fighting my way through learning the format, I'm still just a novice). My current patchset for llvm is here:
2014 Jun 02
2
[LLVMdev] [lldb-dev] MCJIT Mach-O JIT debugging
...e > updated "if ((N_TYPE & n_type) == N_SECT)" (the symbol is in a section and > therefore is has a address value). Other symbols have values that usually > don't need to be modified. You might also need to watch out for absolute > symbols (if ((N_TYPE & n_type) == N_ABS)) as there are a few that sometimes > don't claim to be a symbol that has a valid address, but they actually do > point to an address. The symbol named "mach_header" is one such absolute > symbol. > > If this is all new code, get it as close as you can and then we can...
2014 Jun 02
2
[LLVMdev] [lldb-dev] MCJIT Mach-O JIT debugging
...alue only needs to be updated "if ((N_TYPE & n_type) == N_SECT)" (the symbol is in a section and therefore is has a address value). Other symbols have values that usually don't need to be modified. You might also need to watch out for absolute symbols (if ((N_TYPE & n_type) == N_ABS)) as there are a few that sometimes don't claim to be a symbol that has a valid address, but they actually do point to an address. The symbol named "mach_header" is one such absolute symbol. > > If this is all new code, get it as close as you can and then we can work the kinks...