diff options
author | Pavel Labath <pavel@labath.sk> | 2020-07-10 11:53:47 +0200 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2020-07-10 11:57:11 +0200 |
commit | d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5 (patch) | |
tree | 78b8e96277595495531ba3af8228f7ada729e712 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5f41ca48d1c46fc78958d47c0edfb2dbcde47217 (diff) | |
download | llvm-d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5.zip llvm-d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5.tar.gz llvm-d372a8e8bce266bb4043e6a0bfd76c7e5bf457a5.tar.bz2 |
[lldb/pecoff] Use a different llvm createBinary overload for parsing
Change the code the use the version which accepts a memory buffer,
instead of the one taking a file name.
This ensures we are not loading the file into memory twice
(ObjectFilePECOFF also loads a copy), reducing our memory footprint, as
well as enabling additional goodies in the future, like being able to
open files which don't exist on disk (D83512).
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions