diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-04-27 00:21:34 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-04-27 00:21:34 +0000 |
commit | da018e5687a8694585d20db87ee135c0638e14bf (patch) | |
tree | 9377cfd93c3be015c7d7df310aea7ecd1e14ff73 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | |
parent | e0658119ba90f97717334f7631d258a8f7a6a2ba (diff) | |
download | bcm5719-llvm-da018e5687a8694585d20db87ee135c0638e14bf.tar.gz bcm5719-llvm-da018e5687a8694585d20db87ee135c0638e14bf.zip |
[MachineOutliner] Don't outline from functions with a section marking.
The program might have unusual expectations for functions; for example,
the Linux kernel's build system warns if it finds references from .text
to .init.data.
I'm not sure this is something we actually want to make any guarantees
about (there isn't any explicit rule that would disallow outlining
in this case), but we might want to be conservative anyway.
Differential Revision: https://reviews.llvm.org/D46091
llvm-svn: 331007
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions