Increases compatibility with GNU objdump.
Details
Diff Detail
Event Timeline
Oh, cool. Your patch doesn't get interleaving both kinds of options right though afaict.
I don't think that is necessary. Users shouldn't use --x86-asm-syntax. Actually we probably should remove it afterwards.
Works for me!
But since that's the only way to get this atm, it's mentioned in a bunch of places: https://stackoverflow.com/questions/10362630/how-can-objdump-emit-intel-syntax#comment97536406_10362655
So maybe support both for a release or so?
Conceptually, it seems a bit nicer to me to not add the options to DisassemblerOptions in the first place instead of adding and then removing them again. But I mostly want the feature and don't care too much :) So abandoning this in favor of your CL.
Consider stealing the code bits in this CL for your CL?
clang-format: please reformat the code