[LTO] Fix fat-lto output for -c -emit-llvm. (#79404)
authorSean Fertile <35576261+mandlebug@users.noreply.github.com>
Thu, 25 Jan 2024 15:50:59 +0000 (10:50 -0500)
committerTom Stellard <tstellar@redhat.com>
Sat, 27 Jan 2024 14:51:08 +0000 (06:51 -0800)
commit15aeb35c53f23dd9b7a6781e210795bd4ff7ccae
tree2e261cfe156a971f0d213691ddb8f01b23c8aac6
parent2d759eff89d3e8c95caaa3b82a6c567cc42a560b
[LTO] Fix fat-lto output for -c -emit-llvm. (#79404)

Fix and add a test case for combining '-ffat-lto-objects -c -emit-llvm'
options and fix a spelling mistake in same test.

(cherry picked from commit f1b1611148fa533fe198fec3fa4ef8139224dc80)
clang/lib/Driver/Driver.cpp
clang/test/Driver/fat-lto-objects.c