From 4e340356163aaaf2de83cd73f74bca8db735471b Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 25 Apr 2024 14:57:27 -0700 Subject: [MC] Remove RelaxAll parameters from create*Streamer Related to clean-up opportunities discussed at #90013. After these cleanups, the `RelaxAll` parameter from `createMCObjectStreamer` can be removed as well. As `createMCObjectStreamer` is a more user-facing API and used by two files in mlir/, we postpone the cleanup to the future. --- llvm/lib/MC/MCMachOStreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCMachOStreamer.cpp') diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp index 44b785a..10f9988 100644 --- a/llvm/lib/MC/MCMachOStreamer.cpp +++ b/llvm/lib/MC/MCMachOStreamer.cpp @@ -564,7 +564,7 @@ MCStreamer *llvm::createMachOStreamer(MCContext &Context, std::unique_ptr &&MAB, std::unique_ptr &&OW, std::unique_ptr &&CE, - bool RelaxAll, bool DWARFMustBeAtTheEnd, + bool DWARFMustBeAtTheEnd, bool LabelSections) { MCMachOStreamer *S = new MCMachOStreamer(Context, std::move(MAB), std::move(OW), std::move(CE), -- cgit v1.1