diff options
author | Amy Huang <akhuang@google.com> | 2021-09-03 15:28:29 -0700 |
---|---|---|
committer | Amy Huang <akhuang@google.com> | 2021-09-16 11:00:23 -0700 |
commit | b4fa71eed34d967195514fe9b0a5211fca2bc5bc (patch) | |
tree | ef30abe580a577df7b2744a70097107433d9a101 /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | c96d45700f6d3cb2b8d1972bb8de03522b3ff8d7 (diff) | |
download | llvm-b4fa71eed34d967195514fe9b0a5211fca2bc5bc.zip llvm-b4fa71eed34d967195514fe9b0a5211fca2bc5bc.tar.gz llvm-b4fa71eed34d967195514fe9b0a5211fca2bc5bc.tar.bz2 |
[LLD] Remove global state in lld/COFF
This patch removes globals from the lldCOFF library, by moving globals
into a context class (COFFLinkingContext) and passing it around wherever
it's needed.
See https://lists.llvm.org/pipermail/llvm-dev/2021-June/151184.html for
context about removing globals from LLD.
I also haven't moved the `driver` or `config` variables yet.
Differential Revision: https://reviews.llvm.org/D109634
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions