mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
#ifndef LLVM_DEBUGINFO_DWARFFORMVALUE_H
|
||||
#define LLVM_DEBUGINFO_DWARFFORMVALUE_H
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/Support/DataExtractor.h"
|
||||
|
||||
@ -75,7 +76,8 @@ public:
|
||||
static bool skipValue(uint16_t form, DataExtractor debug_info_data,
|
||||
uint32_t *offset_ptr, const DWARFUnit *u);
|
||||
|
||||
static const uint8_t *getFixedFormSizes(uint8_t AddrSize, uint16_t Version);
|
||||
static ArrayRef<uint8_t> getFixedFormSizes(uint8_t AddrSize,
|
||||
uint16_t Version);
|
||||
};
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user