diff options
author | Rui Ueyama <ruiu@google.com> | 2016-11-20 23:15:52 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-11-20 23:15:52 +0000 |
commit | f94efdddc0ae3f979ad8840ff1a53017548012a4 (patch) | |
tree | a9591fc2daa4552c62f9f5132c1d82b234e6c193 /llvm/utils/FileCheck/FileCheck.cpp | |
parent | a228c46c2a1ec209ec1cc67ba2a58f8df4150668 (diff) | |
download | bcm5719-llvm-f94efdddc0ae3f979ad8840ff1a53017548012a4.tar.gz bcm5719-llvm-f94efdddc0ae3f979ad8840ff1a53017548012a4.zip |
Add a flag to InputSectionBase for linker script.
Previously, we set (uintptr_t)-1 to InputSectionBase::OutSec to record
that a section has already been set to be assigned to some output section
by linker scripts. Later, we restored nullptr to the pointer to use
the field for the original purpose. That overloading is not very easy to
understand.
This patch adds a bit flag for that purpose, so that we don't need
to piggyback the flag on an unrelated pointer.
llvm-svn: 287508
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions