[llvm-commits] [llvm] r120760 - in /llvm/trunk: include/llvm/MC/MCContext.h include/llvm/MC/MCDwarf.h lib/MC/MCAsmStreamer.cpp lib/MC/MCDwarf.cpp

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Dec 2 17:06:27 PST 2010


> And even with a broken linker using the text section looks strange.
> Does MachO support only one text section? If not, what happens when
> using -ffunction-sections?

I also noticed that you modified only the asm streamer. Is clang
supported on darwin9? Running "clang -c" on the example from PR8715
will produce a .o with the same debug_line section as before.

If clang is not supported on darwin9, you can probably just add a
FIXME so that we remember to remove this code once llvm-gcc is not
supported there.

If clang is supported, you have to modify the MachO streamer too.

Cheers,
Rafael



More information about the llvm-commits mailing list