[PATCH] D33398: Mangle __unaligned in Itanium ABI

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 05:36:22 PDT 2017


aaron.ballman added inline comments.


================
Comment at: test/CodeGenCXX/pr33080.cpp:19
+void hb(__unaligned struct A*, __unaligned const struct A*) {}
+// CHECK: define void @_Z2hbPU11__unaligned1APU11__unalignedKS_(
----------------
Can we also get a test like `struct A * __unaligned * __unaligned *`? Also, perhaps a test case involving templates would be good.


https://reviews.llvm.org/D33398





More information about the cfe-commits mailing list