[Lldb-commits] [lldb] 1fae85a - [DWARF] Add instructions to regenerate this test, if needed.

Robinson, Paul via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 16 14:01:42 PDT 2020



> -----Original Message-----
> From: lldb-commits <lldb-commits-bounces at lists.llvm.org> On Behalf Of
> Davide Italiano via lldb-commits
> Sent: Thursday, April 16, 2020 4:32 PM
> To: lldb-commits at lists.llvm.org
> Subject: [Lldb-commits] [lldb] 1fae85a - [DWARF] Add instructions to
> regenerate this test, if needed.
> 
> 
> Author: Davide Italiano
> Date: 2020-04-16T13:31:32-07:00
> New Revision: 1fae85a8534ec51ca893899314bd244b3e9684c7
> 
> URL: https://github.com/llvm/llvm-
> project/commit/1fae85a8534ec51ca893899314bd244b3e9684c7
> DIFF: https://github.com/llvm/llvm-
> project/commit/1fae85a8534ec51ca893899314bd244b3e9684c7.diff
> 
> LOG: [DWARF] Add instructions to regenerate this test, if needed.
> 
> Added:
> 
> 
> Modified:
>     lldb/test/Shell/SymbolFile/DWARF/static_scope.s
> 
> Removed:
> 
> 
> 
> ##########################################################################
> ######
> diff  --git a/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
> b/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
> index 84a69e08ecfc..02d497ac9ccb 100644
> --- a/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
> +++ b/lldb/test/Shell/SymbolFile/DWARF/static_scope.s
> @@ -3,6 +3,15 @@
> 
>  # REQUIRES: x86
> 
> +# Original test case (for future reference), compiled with:
> +# $ clang-10 -g -Og test.c -o test
> +# $ cat test.c
> +# volatile int a;
> +# main() {
> +#   int b = 3;

Did you mean this to be `static`?
--paulr

> +#   a;
> +# }
> +
>  # RUN: llvm-mc -triple=x86_64-apple-macosx10.15.0 -filetype=obj %s > %t.o
>  # RUN: lldb-test symbols %t.o | FileCheck %s
> 
> 
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits


More information about the lldb-commits mailing list