hanchenye-llvm-project/llvm/lib
Justin Bogner d24e185784 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.

llvm-svn: 228793
2015-02-11 02:52:44 +00:00
..
Analysis Don't promote asynch EH invokes of nounwind functions to calls 2015-02-11 01:23:16 +00:00
AsmParser AsmParser: Add stubs for specialized MDNodes, NFC 2015-02-10 01:08:16 +00:00
Bitcode IR: Add specialized debug info metadata nodes 2015-02-10 00:52:32 +00:00
CodeGen Don't promote asynch EH invokes of nounwind functions to calls 2015-02-11 01:23:16 +00:00
DebugInfo Temporary workaround to fix MSVC 2012 build problems 2015-02-11 02:16:34 +00:00
ExecutionEngine [Orc] Add a JITSymbol class to the Orc APIs, refactor APIs, update clients. 2015-02-09 01:20:51 +00:00
Fuzzer [fuzzer] move default sanitizer options to a separate file 2015-02-06 19:52:07 +00:00
IR Reformat (and remove some tabs) to make debugging this code a 2015-02-10 21:15:06 +00:00
IRReader Remove unused variable. NFC. 2014-11-06 23:16:57 +00:00
LTO [LTO API] split lto_codegen_compile to lto_codegen_optimize and 2015-02-03 18:39:15 +00:00
LineEditor
Linker [llvm link] Destroy ConstantArrays in LLVMContext if they are not used. 2015-01-20 19:24:59 +00:00
MC MC: Calculate intra-section symbol differences correctly for COFF 2015-02-09 06:31:31 +00:00
Object [Object] Reformat the code with clang-format 2015-02-10 21:38:25 +00:00
Option [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ProfileData InstrProf: Use a stable sort when reading coverage regions 2015-02-04 00:12:18 +00:00
Support [ARM] Add armv6s[-]m as an alias to armv6[-]m 2015-02-10 15:15:08 +00:00
TableGen Replace size method call of containers to empty method where appropriate 2015-01-15 11:41:30 +00:00
Target R600/SI: Store immediate offsets > 12-bits in soffset 2015-02-11 00:34:35 +00:00
Transforms InstrProf: Lower coverage mappings by setting their sections appropriately 2015-02-11 02:52:44 +00:00
CMakeLists.txt Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. 2015-01-29 16:58:29 +00:00
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00