aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJason Molenda <jason@molenda.com>2022-10-27 13:11:20 -0700
committerJason Molenda <jason@molenda.com>2022-10-27 13:11:20 -0700
commitd40f4636c454cf278b390b6591bf1e8dde8252aa (patch)
tree2ae93d46c2e9b1fecebf0ddb1a314051678bacd5 /flang/lib/Frontend/CompilerInvocation.cpp
parent488cf1038c88a6d7e5378d493a253e1dc6a97cd9 (diff)
downloadllvm-d40f4636c454cf278b390b6591bf1e8dde8252aa.zip
llvm-d40f4636c454cf278b390b6591bf1e8dde8252aa.tar.gz
llvm-d40f4636c454cf278b390b6591bf1e8dde8252aa.tar.bz2
Handle an unknown binary platform type in debugserver
debugserver parses the Mach-O header & load commands of binaries; if it does this with a binary whose LC_BUILD platform enum it does not recognize, it will currently crash. This patch changes MachProcss::GetPlatformString to return an optional platform string, and updates the callers to do the right thing when this optional could not be provided. Differential Revision: https://reviews.llvm.org/D136719 rdar://100452994
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions