[PATCH] D85649: [AArch64] PAC/BTI code generation for LLVM generated functions
    Daniel Kiss via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Sep 24 06:32:07 PDT 2020
    
    
  
danielkiss accepted this revision.
danielkiss added a comment.
This revision is now accepted and ready to land.
LGTM
@nickdesaulniers
> one kernel image that runs on hardware both with and without BTI ISA extensions?
In case of BTI one image could run on both HW due to BTI is in the no-op space.
> In that case, via kernel config I guess we'd build everything with BTI, and have build time errors for translation units that accidentally dropped KBUILD_CFLAGS, which happens a lot, but is fixable in kernel's build system sources.
actually when compiling with BTI the "-Wl,-fatal-warnings, -Wl,-z,force-bti" could be added to the linker flags to catch these things, I will send a patch to the kernel mailing list.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85649/new/
https://reviews.llvm.org/D85649
    
    
More information about the llvm-commits
mailing list