IPA function summary for undefined_handler/10 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for SysTick_Handler/9 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for PendSV_Handler/8 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for DebugMon_Handler/7 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for SVCHandler_main/6 inlinable global time: 10.600000 self size: 24 global size: 24 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: IPA function summary for SVC_Handler/5 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for UsageFault_Handler/4 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for BusFault_Handler/3 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for MemManage_Handler/2 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for HardFault_Handler/1 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for NMI_Handler/0 inlinable global time: 0.000000 self size: 2 global size: 2 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: Flattening functions: Overall time estimate: 10.600000 weighted by profile: 0.000000 Deciding on inlining of small functions. Starting with size 0. Enqueueing calls in undefined_handler/10. Enqueueing calls in SysTick_Handler/9. Enqueueing calls in PendSV_Handler/8. Enqueueing calls in DebugMon_Handler/7. Enqueueing calls in SVCHandler_main/6. Enqueueing calls in SVC_Handler/5. Enqueueing calls in UsageFault_Handler/4. Enqueueing calls in BusFault_Handler/3. Enqueueing calls in MemManage_Handler/2. Enqueueing calls in HardFault_Handler/1. Enqueueing calls in NMI_Handler/0. Reclaiming functions: Reclaiming variables: Clearing address taken flags: Deciding on functions to be inlined into all callers and removing useless speculations: Overall time estimate: 10.600000 weighted by profile: 0.000000 Why inlining failed? IPA function summary for undefined_handler/10 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for SysTick_Handler/9 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for PendSV_Handler/8 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for DebugMon_Handler/7 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for SVCHandler_main/6 inlinable global time: 10.600000 self size: 24 global size: 24 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: IPA function summary for SVC_Handler/5 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for UsageFault_Handler/4 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for BusFault_Handler/3 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for MemManage_Handler/2 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for HardFault_Handler/1 inlinable global time: 0.000000 self size: 2 global size: 2 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: IPA function summary for NMI_Handler/0 inlinable global time: 0.000000 self size: 2 global size: 2 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) @069d5b60 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) @069d5620 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) @069d5000 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) @069d5d20 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) @069d5a80 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) @069d57e0 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) @069d5460 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) @069d51c0 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) @069ced20 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) @069ceee0 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) @069cec40 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: ;; Function NMI_Handler (NMI_Handler, funcdef_no=0, decl_uid=4059, cgraph_uid=1, symbol_order=0) __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%] } ;; Function HardFault_Handler (HardFault_Handler, funcdef_no=1, decl_uid=4061, cgraph_uid=2, symbol_order=1) __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%] } ;; Function MemManage_Handler (MemManage_Handler, funcdef_no=2, decl_uid=4063, cgraph_uid=3, symbol_order=2) __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%] } ;; Function BusFault_Handler (BusFault_Handler, funcdef_no=3, decl_uid=4065, cgraph_uid=4, symbol_order=3) __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%] } ;; Function UsageFault_Handler (UsageFault_Handler, funcdef_no=4, decl_uid=4067, cgraph_uid=5, symbol_order=4) __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%] } ;; Function SVC_Handler (SVC_Handler, funcdef_no=5, decl_uid=4099, cgraph_uid=6, symbol_order=5) __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%] } ;; Function SVCHandler_main (SVCHandler_main, funcdef_no=6, decl_uid=4077, cgraph_uid=7, symbol_order=6) 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; } ;; Function DebugMon_Handler (DebugMon_Handler, funcdef_no=7, decl_uid=4069, cgraph_uid=8, symbol_order=7) __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%] } ;; Function PendSV_Handler (PendSV_Handler, funcdef_no=8, decl_uid=4071, cgraph_uid=9, symbol_order=8) __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%] } ;; Function SysTick_Handler (SysTick_Handler, funcdef_no=9, decl_uid=4073, cgraph_uid=10, symbol_order=9) __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%] } ;; Function undefined_handler (undefined_handler, funcdef_no=10, decl_uid=4075, cgraph_uid=11, symbol_order=10) (executed once) undefined_handler () { [local count: 107374]: [local count: 1073741824]: # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT # DEBUG BEGIN_STMT [local count: 1073741824]: goto ; [100.00%] }