mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-12 18:56:05 +00:00

This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
16 lines
200 B
C
16 lines
200 B
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();
|
|
}
|