diff options
author | Jez Ng <jezng@fb.com> | 2021-06-11 19:49:53 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2021-06-11 19:50:09 -0400 |
commit | 681cfeb59119f2ddc5418e4e3a48c632dcd1aa3e (patch) | |
tree | f7116f35d637613c7dd8bf78fe9f0eb2dac0791f /llvm/lib/Support/Signposts.cpp | |
parent | 7f2ba39b1688230c663986485f605cf8df90f895 (diff) | |
download | llvm-681cfeb59119f2ddc5418e4e3a48c632dcd1aa3e.zip llvm-681cfeb59119f2ddc5418e4e3a48c632dcd1aa3e.tar.gz llvm-681cfeb59119f2ddc5418e4e3a48c632dcd1aa3e.tar.bz2 |
[lld-macho][nfc] Have InputSection ctors take some parameters
This is motivated by an upcoming diff in which the
WordLiteralInputSection ctor sets itself up based on the value of its
section flags. As such, it needs to be passed the `flags` value as part
of its ctor parameters, instead of having them assigned after the fact
in `parseSection()`. While refactoring code to make that possible, I
figured it would make sense for the other InputSections to also take
their initial values as ctor parameters.
Reviewed By: #lld-macho, thakis
Differential Revision: https://reviews.llvm.org/D103978
Diffstat (limited to 'llvm/lib/Support/Signposts.cpp')
0 files changed, 0 insertions, 0 deletions