efriedma added a comment.

It's possible to misalign a global definition by misaligning its section with a 
linker script... but we can probably ignore that possibility.

It's very easy to misalign global declaration, though; for example:

a.c:

  extern int a[];
  int f(int x) { return a[x]; }

b.c:

  char a[] = "asdfzxcv";


https://reviews.llvm.org/D30283



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

Reply via email to