This patch adds the option -l/--language to the expression command, for use when setting the language options or choosing an alternate FE. If not specified, the target.language setting is used. Reviewed by: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11447 llvm-svn: 243187
16 lines
211 B
C++
16 lines
211 B
C++
extern "C" int foo(void);
|
|
static int static_value = 0;
|
|
|
|
int
|
|
bar()
|
|
{
|
|
static_value++;
|
|
return static_value;
|
|
}
|
|
|
|
int main (int argc, char const *argv[])
|
|
{
|
|
bar(); // breakpoint_in_main
|
|
return foo();
|
|
}
|