Mark jump tables in code sections with DataRegion directives.
authorJim Grosbach <grosbach@apple.com>
Mon, 24 Sep 2012 23:06:27 +0000 (23:06 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 24 Sep 2012 23:06:27 +0000 (23:06 +0000)
commite9525d862454674ce87a9da52b2d05915a142206
treea3324f3d4e697b95463fb60b9b1d623d25fef016
parent7f8f3f7f6400291d30531c88a98511f9fc626b4c
Mark jump tables in code sections with DataRegion directives.

Even out-of-line jump tables can be in the code section, so mark them
as data-regions for those targets which support the directives.

rdar://12362871&12362974

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164571 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
test/CodeGen/X86/pic_jumptable.ll