[patch] Drop support for non-cfi capable assemblers

Brad Smith brad at comstyle.com
Fri Jul 11 02:44:51 PDT 2014


On 24/03/14 6:18 PM, Rafael EspĂ­ndola wrote:
>> I do for SPARC, that makes up 2 out of the 3 OS's that are being used and
>> targetted so far.
>>
>> What prevents FreeBSD / OpenBSD from upgrading is the license.
>
> This is incorrect.  The license change was done in
> ec2655a6a75bc61d21e6f8ddc1e9f9027a8914dd in 2007. Gas already had
> support for cfi before that. I tested building the previous revision
> with --target=sparc64-pc-freebsd and it was more than happy to
> assembly llc's output of test/CodeGen/SPARC/exception.ll,
> .cfi_window_save and all.

Although the damage is already done..

Actually it is correct. It isn't just about the initial addition of cfi
support but all of the various cfi ops. Support for cfi_sections did not
go in until 2009.

/tmp/ssherr-09efc5.s: Assembler messages:
/tmp/ssherr-09efc5.s:1326: Error: unknown pseudo-op: `.cfi_sections'

wah wah wah. epic fail.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the llvm-commits mailing list