aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTOBackend.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@legionlabs.com>2021-12-21 18:36:54 -0500
committerAlexandre Ganea <alexandre.ganea@legionlabs.com>2021-12-21 19:02:14 -0500
commit5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f (patch)
treea67dbc577f5fc267ed33198e182c7f21aeec809c /llvm/lib/LTO/LTOBackend.cpp
parent0e9393f5221cefe76a737b53c724e484a764dba5 (diff)
downloadllvm-5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f.zip
llvm-5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f.tar.gz
llvm-5bb5142e80c9c6eb1a948d6d2ff4834e4e69741f.tar.bz2
Revert [CodeView] Emit S_OBJNAME record
Also revert all subsequent fixes: - abd1cbf5e543f0f114d2742e109ead7d7ddbf9c4 [Clang] Disable debug-info-objname.cpp test on Unix until I sort out the issue. - 00ec441253048f5e30540ea26bb0a28c42a5fc18 [Clang] debug-info-objname.cpp test: explictly encode a x86 target when using %clang_cl to avoid falling back to a native CPU triple. - cd407f6e52b09cce2bef24c74b7f36fedc94991b [Clang] Fix build by restricting debug-info-objname.cpp test to x86.
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r--llvm/lib/LTO/LTOBackend.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp
index 855d0fc..15e20fec 100644
--- a/llvm/lib/LTO/LTOBackend.cpp
+++ b/llvm/lib/LTO/LTOBackend.cpp
@@ -412,8 +412,6 @@ static void codegen(const Config &Conf, TargetMachine *TM,
if (Error Err = StreamOrErr.takeError())
report_fatal_error(std::move(Err));
std::unique_ptr<CachedFileStream> &Stream = *StreamOrErr;
- TM->Options.ObjectFilenameForDebug = Stream->ObjectPathName;
-
legacy::PassManager CodeGenPasses;
CodeGenPasses.add(
createImmutableModuleSummaryIndexWrapperPass(&CombinedIndex));