Displaying 3 results from an estimated 3 matches for "offset_ptr".
Did you mean:
offset_p
2012 Nov 06
2
[LLVMdev] [PATCH] basic reading reloc visitor for x86_64 ELF
...quot;
#include "DWARFContext.h"
+#include "llvm/Support/Debug.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
@@ -98,8 +99,16 @@ DWARFFormValue::extractValue(DataExtractor data, uint32_t *offset_ptr,
indirect = false;
switch (Form) {
case DW_FORM_addr:
- case DW_FORM_ref_addr:
- Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize());
+ case DW_FORM_ref_addr: {
+ RelocAddrMap::const_iterator AI
+ = cu->getContext().relocMap().find(*offset...
2012 Nov 06
0
[LLVMdev] [PATCH] basic reading reloc visitor for x86_64 ELF
On Mon, Nov 5, 2012 at 5:17 PM, Eric Christopher <echristo at gmail.com> wrote:
> For llvm-dwarfdump we need to handle relocations inside the debug info
> sections in order to successfully dump the dwarf info including strings.
> Nick sent out a partial patch that did this not too long ago and I've taken
> it and gone in a bit of a different direction, but kept the same basic
2013 Feb 06
0
[LLVMdev] [llvm] r174463 - Initial support for DWARF CFI parsing and dumping in LLVM
...gt; + // Length is the structure size excluding itself. Compute an offset one
>> + // past the end of the structure (needed to know how many instructions to
>> + // read).
>> + // TODO: For honest DWARF64 support, DataExtractor will have to treat
>> + // offset_ptr as uint64_t*
>> + uint32_t EndStructureOffset = Offset + static_cast<uint32_t>(Length);
>> +
>> + // The Id field's size depends on the DWARF format
>> + Id = Data.getUnsigned(&Offset, IsDWARF64 ? 8 : 4);
>> + bool IsCIE = ((IsDWARF64 &&am...