diff options
| author | Rui Ueyama <ruiu@google.com> | 2019-07-11 05:40:30 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2019-07-11 05:40:30 +0000 |
| commit | 136d27ab4de0c1d5dedfecc32a9857be78fa0648 (patch) | |
| tree | ed1d11367899a7567b358b28e687ba179faf4ade /lld/ELF/InputSection.cpp | |
| parent | 51f5079191d53862c7673c73ee48f80df59de00f (diff) | |
| download | bcm5719-llvm-136d27ab4de0c1d5dedfecc32a9857be78fa0648.tar.gz bcm5719-llvm-136d27ab4de0c1d5dedfecc32a9857be78fa0648.zip | |
[Coding style change][lld] Rename variables for non-ELF ports
This patch does the same thing as r365595 to other subdirectories,
which completes the naming style change for the entire lld directory.
With this, the naming style conversion is complete for lld.
Differential Revision: https://reviews.llvm.org/D64473
llvm-svn: 365730
Diffstat (limited to 'lld/ELF/InputSection.cpp')
| -rw-r--r-- | lld/ELF/InputSection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/InputSection.cpp b/lld/ELF/InputSection.cpp index a2cbefb6df1..1ca520c3740 100644 --- a/lld/ELF/InputSection.cpp +++ b/lld/ELF/InputSection.cpp @@ -148,7 +148,7 @@ void InputSectionBase::uncompress() const { { static std::mutex mu; std::lock_guard<std::mutex> lock(mu); - uncompressedBuf = BAlloc.Allocate<char>(size); + uncompressedBuf = bAlloc.Allocate<char>(size); } if (Error e = zlib::uncompress(toStringRef(rawData), uncompressedBuf, size)) @@ -231,7 +231,7 @@ void InputSectionBase::parseCompressedHeader() { // Restore the original section name. // (e.g. ".zdebug_info" -> ".debug_info") - name = Saver.save("." + name.substr(2)); + name = saver.save("." + name.substr(2)); return; } |

