mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 02:46:06 +00:00

``` % echo 90 | llvm-mc -triple=x86_64 --disassemble --hex .text nop ``` The initial `.text` kludge is due `initSection`, which is actually only needed by AIX XCOFF for its `getCurrentSectionOnly()` use in MCAsmStreamer::emitInstruction (https://reviews.llvm.org/D95518). Adjust MCAsmStreamer::emitInstruction to not trigger failures on ``` echo 7c4303a6 | llvm-mc --cdis --hex --triple=powerpc-aix-ibm-xcoff ``` Pull Request: https://github.com/llvm/llvm-project/pull/120185