diff options
| author | Zachary Turner <zturner@google.com> | 2018-12-07 19:34:02 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-12-07 19:34:02 +0000 |
| commit | a42bbe3981645c03222161e7d292fdb794f14f56 (patch) | |
| tree | 6f454ff41cc5ba7696a5101b49fd00fcede0e089 /lldb/lit/SymbolFile/NativePDB/Inputs | |
| parent | 992fc88111578d04b21ed1f9c5ade82a502423d5 (diff) | |
| download | bcm5719-llvm-a42bbe3981645c03222161e7d292fdb794f14f56.tar.gz bcm5719-llvm-a42bbe3981645c03222161e7d292fdb794f14f56.zip | |
[NativePDB] Reconstruct function declarations from debug info.
Previously we would create an lldb::Function object for each function
parsed, but we would not add these to the clang AST. This is a first
step towards getting local variable support working, as we first need an
AST decl so that when we create local variable entries, they have the
proper DeclContext.
Differential Revision: https://reviews.llvm.org/D55384
llvm-svn: 348631
Diffstat (limited to 'lldb/lit/SymbolFile/NativePDB/Inputs')
| -rw-r--r-- | lldb/lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit | 8 | ||||
| -rw-r--r-- | lldb/lit/SymbolFile/NativePDB/Inputs/ast-types.lldbinit (renamed from lldb/lit/SymbolFile/NativePDB/Inputs/ast-reconstruction.lldbinit) | 0 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lldb/lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit b/lldb/lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit new file mode 100644 index 00000000000..c25d96c531d --- /dev/null +++ b/lldb/lit/SymbolFile/NativePDB/Inputs/ast-functions.lldbinit @@ -0,0 +1,8 @@ + +break set -n main +break set -n static_fn +break set -n varargs_fn + +target modules dump ast + +quit diff --git a/lldb/lit/SymbolFile/NativePDB/Inputs/ast-reconstruction.lldbinit b/lldb/lit/SymbolFile/NativePDB/Inputs/ast-types.lldbinit index 3c0cf6d3cdf..3c0cf6d3cdf 100644 --- a/lldb/lit/SymbolFile/NativePDB/Inputs/ast-reconstruction.lldbinit +++ b/lldb/lit/SymbolFile/NativePDB/Inputs/ast-types.lldbinit |

