projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[LLVMSymbolize] Simplify SymbolizableObjectFile::symbolizeInlinedCode(). NFC.
[oota-llvm.git]
/
include
/
llvm
/
DebugInfo
/
DIContext.h
diff --git
a/include/llvm/DebugInfo/DIContext.h
b/include/llvm/DebugInfo/DIContext.h
index e98665f2b0d2783eaf31f4efba9c2a586d408e4b..1ca7b044df1bd8ce2368858a511e57f8b64be151 100644
(file)
--- a/
include/llvm/DebugInfo/DIContext.h
+++ b/
include/llvm/DebugInfo/DIContext.h
@@
-57,6
+57,10
@@
class DIInliningInfo {
assert(Index < Frames.size());
return Frames[Index];
}
+ DILineInfo *getMutableFrame(unsigned Index) {
+ assert(Index < Frames.size());
+ return &Frames[Index];
+ }
uint32_t getNumberOfFrames() const {
return Frames.size();
}