aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-08-27 07:17:47 +0000
committerAlexey Samsonov <samsonov@google.com>2012-08-27 07:17:47 +0000
commiteceb5b99777ba944a0ae3748a0371e9a3aa94d56 (patch)
tree2cd8d0cd2c9cfb30bb1bfe86a5105e71dc111fcb /include
parent903090c55efb8a1775959d960e97706c36476d7d (diff)
downloadexternal_llvm-eceb5b99777ba944a0ae3748a0371e9a3aa94d56.zip
external_llvm-eceb5b99777ba944a0ae3748a0371e9a3aa94d56.tar.gz
external_llvm-eceb5b99777ba944a0ae3748a0371e9a3aa94d56.tar.bz2
Add basic support for .debug_ranges section to LLVM's DebugInfo library.
This section (introduced in DWARF-3) is used to define instruction address ranges for functions that are not contiguous and can't be described by low_pc/high_pc attributes (this is the usual case for inlined subroutines). The patch is the first step to support fetching complete inlining info from DWARF. Reviewed by Benjamin Kramer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo/DIContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo/DIContext.h b/include/llvm/DebugInfo/DIContext.h
index cfdeb46..d859b39 100644
--- a/include/llvm/DebugInfo/DIContext.h
+++ b/include/llvm/DebugInfo/DIContext.h
@@ -81,7 +81,8 @@ public:
StringRef abbrevSection,
StringRef aRangeSection = StringRef(),
StringRef lineSection = StringRef(),
- StringRef stringSection = StringRef());
+ StringRef stringSection = StringRef(),
+ StringRef rangeSection = StringRef());
virtual void dump(raw_ostream &OS) = 0;