diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-20 20:54:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-20 20:54:39 +0000 |
commit | 145569df6411e9fcff07fe5bc09afdf8fdc2be35 (patch) | |
tree | 8e2078d9e47b7e9202d07706135f863b88446023 /llvm/tools/llvm-profdata/llvm-profdata.cpp | |
parent | e5bfa690d04a70fd3c6378401e3fb1ab5d4a3480 (diff) | |
download | bcm5719-llvm-145569df6411e9fcff07fe5bc09afdf8fdc2be35.tar.gz bcm5719-llvm-145569df6411e9fcff07fe5bc09afdf8fdc2be35.zip |
Only restrict order if both sections are in the script.
This matches gold and bfd behavior and is required to handle some scripts.
The script has to assume where PT_LOADs start in order to align that
spot. If we don't allow section it doesn't know about to move to the
middle, we can need more PT_LOADs and those will not be aligned.
llvm-svn: 282015
Diffstat (limited to 'llvm/tools/llvm-profdata/llvm-profdata.cpp')
0 files changed, 0 insertions, 0 deletions