Analyzing function: undefined_handler/10 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: undefined_handler IPA function summary for undefined_handler/10 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: SysTick_Handler/9 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: SysTick_Handler IPA function summary for SysTick_Handler/9 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: PendSV_Handler/8 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: PendSV_Handler IPA function summary for PendSV_Handler/8 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: DebugMon_Handler/7 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: DebugMon_Handler IPA function summary for DebugMon_Handler/7 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: SVCHandler_main/6 ;; 1 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 5 6 7 ;; 2 succs { 7 4 3 5 6 } ;; 3 succs { 7 } ;; 4 succs { 7 } ;; 5 succs { 7 } ;; 6 succs { 7 } ;; 7 succs { 1 } Analyzing function body size: SVCHandler_main IPA function summary for SVCHandler_main/6 inlinable global time: 10.600000 self size: 24 global size: 0 min size: 0 self stack: 0 global stack: 0 size:20.500000, time:8.100000 size:3.500000, time:2.500000, executed if:(not inlined) calls: Analyzing function: SVC_Handler/5 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: SVC_Handler IPA function summary for SVC_Handler/5 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: UsageFault_Handler/4 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: UsageFault_Handler IPA function summary for UsageFault_Handler/4 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: BusFault_Handler/3 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: BusFault_Handler IPA function summary for BusFault_Handler/3 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: MemManage_Handler/2 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: MemManage_Handler IPA function summary for MemManage_Handler/2 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: HardFault_Handler/1 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: HardFault_Handler IPA function summary for HardFault_Handler/1 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Analyzing function: NMI_Handler/0 ;; 2 loops found ;; ;; Loop 0 ;; header 0, latch 1 ;; depth 0, outer -1 ;; nodes: 0 1 2 3 4 ;; ;; Loop 1 ;; header 3, latch 4 ;; depth 1, outer 0 ;; nodes: 3 4 ;; 2 succs { 3 } ;; 3 succs { 4 } ;; 4 succs { 3 } Analyzing function body size: NMI_Handler IPA function summary for NMI_Handler/0 inlinable global time: 0.000000 self size: 2 global size: 0 min size: 0 self stack: 0 global stack: 0 size:0.000000, time:0.000000 size:2.000000, time:0.000000, executed if:(not inlined) calls: Symbol table: undefined_handler/10 (undefined_handler) @06996b60 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:107374 (estimated locally) body executed_once optimize_size Called by: Calls: SysTick_Handler/9 (SysTick_Handler) @06996620 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: PendSV_Handler/8 (PendSV_Handler) @06996000 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: DebugMon_Handler/7 (DebugMon_Handler) @06996d20 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: SVCHandler_main/6 (SVCHandler_main) @06996a80 Type: function definition analyzed Visibility: externally_visible public References: Referring: Availability: available Function flags: count:1073741823 (estimated locally) body optimize_size Called by: Calls: SVC_Handler/5 (SVC_Handler) @069967e0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: UsageFault_Handler/4 (UsageFault_Handler) @06996460 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: BusFault_Handler/3 (BusFault_Handler) @069961c0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: MemManage_Handler/2 (MemManage_Handler) @0698fd20 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: HardFault_Handler/1 (HardFault_Handler) @0698fee0 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: NMI_Handler/0 (NMI_Handler) @0698fc40 Type: function definition analyzed Visibility: externally_visible public weak References: Referring: Availability: overwritable Function flags: count:107374 (estimated locally) body optimize_size Called by: Calls: undefined_handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) SysTick_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) PendSV_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) DebugMon_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } SVCHandler_main (unsigned int * svc_args) { unsigned int _1; sizetype _2; unsigned char * _3; unsigned char _4; [local count: 1073741823]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT _1 = MEM[(unsigned int *)svc_args_6(D) + 24B]; _2 = _1 + 4294967294; _3 = (unsigned char *) _2; _4 = *_3; # DEBUG svc_number => (unsigned int) _4 # DEBUG BEGIN_STMT switch (_4) [20.00%], case 0: [20.00%], case 1: [20.00%], case 2: [20.00%], case 3: [20.00%]> [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x1"); # DEBUG BEGIN_STMT __asm__ __volatile__("msr CONTROL, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x0"); # DEBUG BEGIN_STMT __asm__ __volatile__("msr CONTROL, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x0"); # DEBUG BEGIN_STMT __asm__ __volatile__(" msr BASEPRI, r0"); # DEBUG BEGIN_STMT goto ; [100.00%] [local count: 214748364]: : # DEBUG BEGIN_STMT __asm__ __volatile__("mov r0, #0x10"); # DEBUG BEGIN_STMT __asm__ __volatile__(" msr BASEPRI, r0"); # DEBUG BEGIN_STMT [local count: 1073741824]: : return; } __attribute__((weak)) SVC_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) UsageFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) BusFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) MemManage_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) HardFault_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] } __attribute__((weak)) NMI_Handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] }