In https://bugs.llvm.org/show_bug.cgi?id=41206 we observe bad codegen when embedding a non-trivial C struct within a C struct. This is due to the fact that name mangling for non-trivial structs marks the two structs as identical. This diff contains a potential fix for this issue. Please comment if there're any untested scenarios I should include.
Test Plan: I've included a unit test & updated other tests
I think you can get rid of -fblocks, -fobjc-runtime=ios-11.0, -DUSESTRUCT, and -I %S/Inputs