diff options
author | Devang Patel <dpatel@apple.com> | 2010-05-14 21:01:35 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-05-14 21:01:35 +0000 |
commit | 98e1cac52c0eb35fdf6608befd58a8d09d3459d6 (patch) | |
tree | 6448b9ad47cdde5a5bd207bd1f571bda744f45b7 /include | |
parent | 1b2c761a9cc9a57b417c676f4bd97d11b6ba1869 (diff) | |
download | llvm-98e1cac52c0eb35fdf6608befd58a8d09d3459d6.tar.gz llvm-98e1cac52c0eb35fdf6608befd58a8d09d3459d6.tar.bz2 llvm-98e1cac52c0eb35fdf6608befd58a8d09d3459d6.tar.xz |
Add support to preserve type info for the variables that are removed by the optimizer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/DebugInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 444c706690..b69b3babb5 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -677,7 +677,7 @@ namespace llvm { DIVariable CreateVariable(unsigned Tag, DIDescriptor Context, StringRef Name, DIFile F, unsigned LineNo, - DIType Ty); + DIType Ty, bool OptimizedBuild = false); /// CreateComplexVariable - Create a new descriptor for the specified /// variable which has a complex address expression for its address. |