[llvm-dev] Look up table in function section

Sumanth Gundapaneni via llvm-dev llvm-dev at lists.llvm.org
Thu May 4 10:36:48 PDT 2017


I have legit requirement to keep the switch generated lookup table in
function section.

The lookup table is being generated in SimplifyCFG pass and is treated as a
global.

Is there a good way to mark these lookup tables and recognize them later to
keep them in function sections.

 

--Sumanth

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170504/4447c5fa/attachment.html>


More information about the llvm-dev mailing list