diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-01-25 22:50:58 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-01-25 22:50:58 +0000 |
commit | ee7c0d2f931590ccdc53a14b1839e11bb29fc96e (patch) | |
tree | 691f74c6f15436cdeacf8fa67089c34071a00460 /lib/DebugInfo/DWARFRelocMap.h | |
parent | c73b7f702258b844dc2702fd9d79d8a8706460a7 (diff) |
Add support for applying in-memory relocations to the .debug_line section and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/DWARFRelocMap.h')
-rw-r--r-- | lib/DebugInfo/DWARFRelocMap.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/DebugInfo/DWARFRelocMap.h b/lib/DebugInfo/DWARFRelocMap.h new file mode 100644 index 0000000000..f53d05cac5 --- /dev/null +++ b/lib/DebugInfo/DWARFRelocMap.h @@ -0,0 +1,21 @@ +//===-- DWARFRelocMap.h -----------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_DEBUGINFO_DWARFRELOCMAP_H +#define LLVM_DEBUGINFO_DWARFRELOCMAP_H + +#include "llvm/ADT/DenseMap.h" + +namespace llvm { + +typedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap; + +} // namespace llvm + +#endif // LLVM_DEBUGINFO_DWARFRELOCMAP_H
\ No newline at end of file |