[PATCH] D52784: [ARM][AArch64] Pass through endianness flags to the GNU assembler and linker

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 19 00:10:06 PDT 2018


peter.smith added a comment.

Thanks for pointing that out, I'm out of office today, will look at describing the intention to fall through when I get back in on Monday.



================
Comment at: lib/Driver/ToolChains/Gnu.cpp:241
+  case llvm::Triple::thumbeb:
+    IsBigEndian = true;
+  case llvm::Triple::arm:
----------------
xbolva00 wrote:
> Gnu.cpp:241:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
>      IsBigEndian = true;
The fall through is intentional in this case.


Repository:
  rC Clang

https://reviews.llvm.org/D52784





More information about the cfe-commits mailing list