[PATCH] D75097: [cc1as] Unset UseNamesOnTempLabels
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 24 18:15:52 PST 2020
MaskRay created this revision.
MaskRay added a reviewer: efriedma.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Similar to rL236642 <https://reviews.llvm.org/rL236642>.
This fixes https://reviews.llvm.org/D74006#1890487
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75097
Files:
clang/tools/driver/cc1as_main.cpp
Index: clang/tools/driver/cc1as_main.cpp
===================================================================
--- clang/tools/driver/cc1as_main.cpp
+++ clang/tools/driver/cc1as_main.cpp
@@ -389,6 +389,7 @@
std::unique_ptr<MCObjectFileInfo> MOFI(new MCObjectFileInfo());
MCContext Ctx(MAI.get(), MRI.get(), MOFI.get(), &SrcMgr, &MCOptions);
+ Ctx.setUseNamesOnTempLabels(false);
bool PIC = false;
if (Opts.RelocationModel == "static") {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75097.246356.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200225/d0ea3f22/attachment-0001.bin>
More information about the cfe-commits
mailing list