
With CONFIG_CFI_CLANG, LLVM replaces function references with CFI jump table addresses to allow type checking with indirect calls. This is unnecessary in ksymtab, so this change uses inline assembly to emit ksymtab entries that point to the actual function instead when CFI is enabled. Bug: 145210207 Change-Id: I894af2c7df476eb00d656c7692a33b25de31e26d Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
6.3 KiB
6.3 KiB