[EXT_EP-11785] Using tiarmclang -S -flto does not create an assembly file Created: 07/Jun/24  Updated: 10/Jun/24  Resolved: 10/Jun/24

Status: Declined
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Not Prioritized
Reporter: TI User Assignee: TI User
Resolution: Won't Fix Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-12533
Forum URL: https://e2e.ti.com/support/processors-group/processors---internal/f/1045/t/1371031
Found In Release: ARMCLANG_2.1.3.LTS
Affected Platform/Device: default
Decline Reason: This is an enhancement implemented by https://jira.itg.ti.com/browse/CODEGEN-9319 in v3.2.0.LTS

 Description   

C:\example>type file.c
void stub() {}

C:\example>tiarmclang -S -flto file.c

C:\example>type file.s
; ModuleID = 'file.c'
source_filename = "file.c"
target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
target triple = "thumbv7em-ti-none-eabihf"

; Function Attrs: noinline nounwind null_pointer_is_valid optnone
define hidden void @stub() #0

{   ret void }

attributes #0 = { noinline nounwind null_pointer_is_valid optnone "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="cortex-m4" "target-features"="+armv7e-m,+dsp,+fp16,+hwdiv,+thumb-mode,+vfp2sp,+vfp3d16sp,+vfp4d16sp,-aes,-d32,-fp-armv8,-fp-armv8d16,-fp-armv8d16sp,-fp-armv8sp,-fp16fml,-fp64,-fullfp16,-neon,-sha2,-vfp2,-vfp3,-vfp3d16,-vfp3sp,-vfp4,-vfp4d16,-vfp4sp" }

!llvm.module.flags = !{!0, !1, !2, !3, !4, !5}
!llvm.ident = !{!6}

!0 = !{i32 2, !"wchar_size", i32 4}
!1 = !{i32 1, !"min_enum_size", i32 1}
!2 = !{i32 1, !"branch-target-enforcement", i32 0}
!3 = !{i32 1, !"sign-return-address", i32 0}
!4 = !{i32 1, !"sign-return-address-all", i32 0}
!5 = !{i32 1, !"sign-return-address-with-bkey", i32 0}
Unable to render embedded object: File (6 = !{) not found."TI clang version 14.0.6 (ssh://git@bitbucket.itg.ti.com/code/llvm-project.git a02eec7de30e6bf137d80bcb0ebf617528933a5b)"}


Generated at Fri May 01 09:58:27 CDT 2026 using Jira 10.3.7#10030007-sha1:a563685562f94d165eb4e158cfb2a142338d8c54.