aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2022-04-01 14:38:55 +0200
committerPavel Labath <pavel@labath.sk>2022-04-05 11:22:37 +0200
commit331150a47dd5b26758293d73c5df3aa1b61ecad9 (patch)
tree3379dd5efc9af8e4a66c20b3efb70b79fb515b60 /clang/lib/Frontend/CompilerInvocation.cpp
parenta9bd565ff2d2e7d561699f47b9f3eccceae28c4e (diff)
downloadllvm-331150a47dd5b26758293d73c5df3aa1b61ecad9.zip
llvm-331150a47dd5b26758293d73c5df3aa1b61ecad9.tar.gz
llvm-331150a47dd5b26758293d73c5df3aa1b61ecad9.tar.bz2
[lldb] Move host platform implementations into the base class
About half of our host platform code was implemented in the Platform class, while the rest was it RemoteAwarePlatform. Most of the time, this did not matter, as nearly all our platforms are also RemoteAwarePlatforms. It makes a difference for PlatformQemu, which descends directly from the base class (as it is local-only). This patch moves all host code paths into the base class, and marks PlatformQemu as a "host" platform so it can make use of them (it sounds slightly strange, but that is consistent with what the apple simulator platforms are doing). Not all of the host implementations make sense for this platform, but it can always override those that don't. I add some basic tests using the platform file apis to exercise this functionality. Differential Revision: https://reviews.llvm.org/D122898
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions