ANDROID: kallsyms: strip the .cfi postfix from symbols with CONFIG_CFI_CLANG
authorSami Tolvanen <samitolvanen@google.com>
Wed, 14 Feb 2018 18:26:35 +0000 (10:26 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:37 +0000 (16:03 -0700)
commit926c9941d261ccdb81c81be63cb9e6b03498f5e5
treefdd7659d1e9c96accfbd4857606f33df128d3415
parentd590fd127d473216c7877e18088c53f445b45d2d
ANDROID: kallsyms: strip the .cfi postfix from symbols with CONFIG_CFI_CLANG

With CFI enabled, LLVM appends .cfi to most function names, which
potentially breaks user space tools. While stripping the postfix is
not optimal either, this should at least create less confusion.

Bug: 67506682
Bug: 73328469
Change-Id: I253f34a562629032ddd792b8498e171109ea7cbc
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
kernel/kallsyms.c