aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCMachOStreamer.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-04-25 14:57:27 -0700
committerFangrui Song <i@maskray.me>2024-04-25 14:57:27 -0700
commit4e340356163aaaf2de83cd73f74bca8db735471b (patch)
treef5779e543e39aa78c90075fe1aa3c7f766732bb3 /llvm/lib/MC/MCMachOStreamer.cpp
parent72da62be2f67b6c6e9185e246d17f3b3753e6493 (diff)
downloadllvm-4e340356163aaaf2de83cd73f74bca8db735471b.zip
llvm-4e340356163aaaf2de83cd73f74bca8db735471b.tar.gz
llvm-4e340356163aaaf2de83cd73f74bca8db735471b.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
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<MCAsmBackend> &&MAB,
std::unique_ptr<MCObjectWriter> &&OW,
std::unique_ptr<MCCodeEmitter> &&CE,
- bool RelaxAll, bool DWARFMustBeAtTheEnd,
+ bool DWARFMustBeAtTheEnd,
bool LabelSections) {
MCMachOStreamer *S =
new MCMachOStreamer(Context, std::move(MAB), std::move(OW), std::move(CE),