[imgtec-pvr-rgx-km] Compile with -O0 for arm64-asan

When compiled with -mstrict-align -fsanitize=address -O1, Clang
sometimes rewrites normal assignments into calls to memset(); but our
memset() implementation does not guarantee strict alignment required
by -mstrict-align. This appears to be an issue with Clang.

As a workaround until the Clang issue is fixed, this CL changes
imgtec-pvr-rgx-km to compile with -O0 when -mstrict-align and
-fsanitize=address are used.

Change-Id: I2741a9e77d21081701583a8f6ed4e8f66a283c43
Bug: 56844
1 file changed
tree: df0aa1d6eb4c85e615820169edbfe12fa0db2681
  1. copy-to-kernel-tc/
  2. fuchsia/
  3. generated/
  4. hwdefs/
  5. include/
  6. kernel/
  7. linux/
  8. services/
  9. test/
  10. tools/
  11. .clang-format
  12. BUILD.gn
  13. CONTRIBUTING.md
  14. MIT-COPYING
  15. OWNERS
  16. README.fuchsia
  17. README.md
README.md

Rogue Embedded Systems DDK for Linux kernel. Copyright (C) Imagination Technologies Ltd. All rights reserved.

About

This is the Imagination Technologies Rogue DDK for the Linux kernel.

License

You may use, distribute and copy this software under the terms of the MIT license. Details of this license can be found in the file “MIT-COPYING”.

Contact information:

Imagination Technologies Ltd. gpl-support@imgtec.com Home Park Estate, Kings Langley, Herts, WD4 8LZ, UK