summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/_Pragma-physloc.c
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-01-13 20:37:10 +0000
committerSebastian Pop <spop@codeaurora.org>2012-01-13 20:37:10 +0000
commit86500280c613dce725c4e2ad4323ea3b56bd24bc (patch)
tree9a9b3ae5068c5cabe1228a7a55146e226936977f /clang/test/Preprocessor/_Pragma-physloc.c
parent9a8d528ddf1f88fe3537e4ae5865b74a96c36ad9 (diff)
downloadbcm5719-llvm-86500280c613dce725c4e2ad4323ea3b56bd24bc.tar.gz
bcm5719-llvm-86500280c613dce725c4e2ad4323ea3b56bd24bc.zip
remove assertions in the Hexagon backend specific clang driver
Patch from Jyotsna Verma: I have made the changes to remove assertions in the Hexagon backend specific clang driver. Instead of asserting on invalid arch name, it has been modified to use the default value. I have changed the implementation of the CPU flag validation for the Hexagon backend. Earlier, the clang driver performed the check and asserted on invalid inputs. In the new implementation, the driver passes the last CPU flag (or sets to "v4" if not specified) to the compiler (and also to the assembler and linker which perform their own check) instead of asserting on incorrect values. This patch changes the setCPU function for the Hexagon backend in clang/lib/Basic/Targets.cpp which causes the compiler to error out on incorrect CPU flag values. llvm-svn: 148139
Diffstat (limited to 'clang/test/Preprocessor/_Pragma-physloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud