summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-12-22 22:22:35 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-12-22 22:22:35 +0000
commit27d4c9b71b426742197174b7415e166f3272975a (patch)
treea4c23ae4c3eba250901ab47ca41bdd4024853e35 /clang/lib/CodeGen/CGClass.cpp
parente477fb95916117b4e7414c4ed90f4b1dd4a03a60 (diff)
downloadbcm5719-llvm-27d4c9b71b426742197174b7415e166f3272975a.tar.gz
bcm5719-llvm-27d4c9b71b426742197174b7415e166f3272975a.zip
[cfi] Emit jump tables as a function-level inline asm.
Use a dummy private function with inline asm calls instead of module level asm blocks for CFI jumptables. The main advantage is that now jumptable codegen can be affected by the function attributes (like target_cpu on ARM). Module level asm gets the default subtarget based on the target triple, which is often not good enough. This change also uses asm constraints/arguments to reference jumptable targets and aliases directly. We no longer do asm name mangling in an IR pass. Differential Revision: https://reviews.llvm.org/D28012 llvm-svn: 290384
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud