diff options
author | Adrian Prantl <aprantl@apple.com> | 2020-07-21 13:53:43 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2020-07-22 08:56:29 -0700 |
commit | 02f58373634fb87c728eb289a35b0819d7aafeee (patch) | |
tree | d601c090495edef22cdb6b5b3807180b695d438a /llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp | |
parent | 4e171c9f19d49dbe1d02611f208f0d59732f5496 (diff) | |
download | llvm-02f58373634fb87c728eb289a35b0819d7aafeee.zip llvm-02f58373634fb87c728eb289a35b0819d7aafeee.tar.gz llvm-02f58373634fb87c728eb289a35b0819d7aafeee.tar.bz2 |
Thread ExecutionContextScope through GetByteSize where possible (NFC-ish)
This patch has no effect for C and C++. In more dynamic languages,
such as Objective-C and Swift GetByteSize() needs to call into the
language runtime, so it's important to pass one in where possible. My
primary motivation for this is some work I'm doing on the Swift
branch, however, it looks like we are also seeing warnings in
Objective-C that this may resolve. Everything in the SymbolFile
hierarchy still passes in nullptrs, because we don't have an execution
context in SymbolFile, since SymbolFile transcends processes.
Differential Revision: https://reviews.llvm.org/D84267
Diffstat (limited to 'llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions