Marcin Koscielnicki 7b32957852 [PowerPC] Fix the EH_SjLj_Setup pseudo.
This instruction is just a control flow marker - it should not
actually exist in the object file.  Unfortunately, nothing catches
it before it gets to AsmPrinter.  If integrated assembler is used,
it's considered to be a normal 4-byte instruction, and emitted as
an all-0 word, crashing the program.  With external assembler,
a comment is emitted.

Fixed by setting Size to 0 and handling it in MCCodeEmitter - this
means the comment will still be emitted if integrated assembler
is not used.

This broke an ASan test, which has been disabled for a long time
as a result (see the discussion on D19657).  We can reenable it
once this lands.

llvm-svn: 267943
2016-04-28 21:24:37 +00:00
..
2016-01-26 00:03:25 +00:00
2013-03-27 06:52:27 +00:00
2015-07-28 20:38:29 +00:00
2014-10-21 23:01:01 +00:00
2014-10-21 23:01:01 +00:00
2014-12-26 16:42:47 +00:00
2013-04-05 23:29:01 +00:00
2015-06-16 16:01:15 +00:00
2013-08-06 17:03:03 +00:00
2016-04-18 11:52:14 +00:00
2016-02-29 16:42:27 +00:00
2016-02-04 23:14:42 +00:00
2016-03-12 10:23:07 +00:00
2016-02-04 01:58:20 +00:00
2013-04-27 00:43:16 +00:00
2012-12-19 15:49:14 +00:00
2015-11-10 21:38:26 +00:00