aganea added a comment.

In D115103#4097460 <https://reviews.llvm.org/D115103#4097460>, @clemenswasser 
wrote:

> Do you have a suggestion how I could fix this on MSVC

@clemenswasser The bug is there for years, I'm surprised it hasn't been fixed 
yet. MSVC doesn't support different types with bitfields. You should do:

  struct ChunkMetadata {
    uint64_t allocated : 8;  // Must be first.
    uint64_t tag : 2;
    uint64_t requested_size : 54;
    uint32_t stack_trace_id;
  };


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

https://reviews.llvm.org/D115103

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

Reply via email to