diff options
author | Fangrui Song <i@maskray.me> | 2024-04-25 14:57:27 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-04-25 14:57:27 -0700 |
commit | 4e340356163aaaf2de83cd73f74bca8db735471b (patch) | |
tree | f5779e543e39aa78c90075fe1aa3c7f766732bb3 /llvm/lib/MC/MCELFStreamer.cpp | |
parent | 72da62be2f67b6c6e9185e246d17f3b3753e6493 (diff) | |
download | llvm-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/MCELFStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCELFStreamer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp index 1d6f3d1..23e926c 100644 --- a/llvm/lib/MC/MCELFStreamer.cpp +++ b/llvm/lib/MC/MCELFStreamer.cpp @@ -892,8 +892,7 @@ void MCELFStreamer::createAttributesSection( MCStreamer *llvm::createELFStreamer(MCContext &Context, std::unique_ptr<MCAsmBackend> &&MAB, std::unique_ptr<MCObjectWriter> &&OW, - std::unique_ptr<MCCodeEmitter> &&CE, - bool RelaxAll) { + std::unique_ptr<MCCodeEmitter> &&CE) { MCELFStreamer *S = new MCELFStreamer(Context, std::move(MAB), std::move(OW), std::move(CE)); return S; |