aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorOskar Wirga <oskar.wirga@gmail.com>2024-04-10 15:37:27 -0700
committerGitHub <noreply@github.com>2024-04-10 15:37:27 -0700
commita9d4ddd98a0bc495126027122fdca751b6841ceb (patch)
treeff9feb6411d442e0d83bee882fca741e2dd4ae55 /flang/lib/Frontend/CompilerInvocation.cpp
parentd8f1e5d2894f7f4edc2e85e63def456c7f430f34 (diff)
downloadllvm-a9d4ddd98a0bc495126027122fdca751b6841ceb.zip
llvm-a9d4ddd98a0bc495126027122fdca751b6841ceb.tar.gz
llvm-a9d4ddd98a0bc495126027122fdca751b6841ceb.tar.bz2
[MergeFuncs/CFI] Ensure all type metadata is propogated for CFI (#88218)
I noticed that we weren't propagating ALL type metadata that was attached to CFI functions: # BEFORE ``` ; Function Attrs: minsize nounwind optsize ssp uwtable(sync) define internal void @foo(ptr nocapture noundef readonly %0) #0 !dbg !62311 !type !34028 !type !34029 !type !34030 ... fn merging ; Function Attrs: minsize nounwind optsize ssp uwtable(sync) define internal void @foo(ptr nocapture noundef readonly %0) #0 !type !34028 ``` # AFTER ``` ; Function Attrs: minsize nounwind optsize ssp uwtable(sync) define internal void @foo(ptr nocapture noundef readonly %0) #0 !dbg !62311 !type !34028 !type !34029 !type !34030 ... fn merging ; Function Attrs: minsize nounwind optsize ssp uwtable(sync) define internal void @foo(ptr nocapture noundef readonly %0) #0 !type !type !34028 !type !34029 !type !34030 ``` This patch makes sure that the entire vector of metadata is copied over.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions