https://github.com/drodriguez commented:

> I also tried to make a minimal yaml file that could create a large enough 
> file, but it complains when trying to emit the file as it runs into the 32 
> bit section offset limiation and refuses to make a bad mach-o file. So no 
> easy way to test this with yaml.

Since it is difficult to generate an invalid Mach-O, I wonder if in this case a 
compressed file that's mostly zeros can be added to the repository. Uncompress 
during the test, hope the contributor has the 4 GBs to spare, then delete as 
one of the last things on the test (because nobody wants a silly 4 GB in their 
system).

https://github.com/llvm/llvm-project/pull/164471
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to