-
Bug
-
Resolution: Won't Fix
-
Not Prioritized
-
Code Generation Tools
-
CODEGEN-12533
-
ARMCLANG_2.1.3.LTS
-
default
-
This is an enhancement implemented by https://jira.itg.ti.com/browse/CODEGEN-9319 in v3.2.0.LTS
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
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)"}