[PATCH] D93876: Do not implicitly turn on function sections with basic block sections.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 13:47:35 PST 2021
dblaikie added inline comments.
================
Comment at: llvm/test/CodeGen/X86/basic-block-sections-blockaddress-taken.ll:10
; CHECK: .text
+; CHECK: .section .text.foo,"ax", at progbits
; CHECK-LABEL: foo:
----------------
tmsriram wrote:
> dblaikie wrote:
> > Why did this test change? It looks like it ended up with unique section names + function-sections enabled, but bb-unique-section-names not enabled? But that wasn't the case prior to this patch?
> llc did not enable function sections implicitly with basic block sections. This patch exposed that problem. With this patch, that gets fixed.
Not sure I follow - the patch description says "Do not implicitly turn on function sections with basic block sections." - which seems in contradiction to the comment here about llc not enabling function sections implicitly with bb sections and this patch fixing it, and this test now having function sections when it didn't before.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93876/new/
https://reviews.llvm.org/D93876
More information about the llvm-commits
mailing list