This change postpones recordmcount processing until after all LLVM IR
has been compiled into object files. In order to exclude the critical
functions in kernel/trace/ftrace.c from inspection, we add a new
code section .text..ftrace, where recordmcount doesn't look, and a
__norecordmcount attribute that allows functions to be moved to this
section.
Bug: 62093296
Change-Id: I4f79112d7c0919315ee61968890eb255d56282cf
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>