llvm-6502/lib/Transforms
Justin Bogner 167ce4489c InstrProf: Lower coverage mappings by setting their sections appropriately
Add handling for __llvm_coverage_mapping to the InstrProfiling
pass. We need to make sure the constant and any profile names it
refers to are in the correct sections, which is easier and cleaner to
do here where we have to know about profiling sections anyway.

This is really tricky to test without a frontend, so I'm committing
the test for the fix in clang. If anyone knows a good way to test this
within LLVM, please let me know.

Fixes PR22531.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228793 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-11 02:52:44 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine Don't promote asynch EH invokes of nounwind functions to calls 2015-02-11 01:23:16 +00:00
Instrumentation InstrProf: Lower coverage mappings by setting their sections appropriately 2015-02-11 02:52:44 +00:00
IPO Don't promote asynch EH invokes of nounwind functions to calls 2015-02-11 01:23:16 +00:00
ObjCARC IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Scalar EarlyCSE: It isn't safe to CSE across synchronization boundaries 2015-02-10 23:09:43 +00:00
Utils Don't promote asynch EH invokes of nounwind functions to calls 2015-02-11 01:23:16 +00:00
Vectorize Correctly combine alias.scope metadata by a union instead of intersecting 2015-02-08 17:07:14 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile