mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 18:26:05 +00:00

This patch defines the SBDebugger::eBroadcastBitProgress enum in the SWIG interface and exposes the SBDebugger::{GetProgressFromEvent,GetBroadcaster} methods as well. This allows to exercise the API from the script interpreter using python. Differential Revision: https://reviews.llvm.org/D120100 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
12 lines
144 B
C
12 lines
144 B
C
int bar(int b) { return b * b; }
|
|
|
|
int foo(int f) {
|
|
int b = bar(f); // break here
|
|
return b;
|
|
}
|
|
|
|
int main() {
|
|
int f = foo(42);
|
|
return f;
|
|
}
|