aaron.ballman added a comment.

In D138453#4105211 <https://reviews.llvm.org/D138453#4105211>, @DHowett-MSFT 
wrote:

> In D138453#4105209 <https://reviews.llvm.org/D138453#4105209>, @shafik wrote:
>
>> It looks like https://github.com/llvm/llvm-project/issues/60543 is hitting 
>> your added `llvm_unreachable("missing serialization code for annotation 
>> token");` is this expected.
>
> I believe it's expected that we hit this assertion - it's clearer than the 
> original message, and more directly indicates that `#pragma pack` cannot be 
> serialized.

Failed assertions or reaching code marked as unreachable is always a bug -- we 
should be failing gracefully with diagnostics and not crashing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138453/new/

https://reviews.llvm.org/D138453

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to