llvm-project/llvm/lib
Bill Wendling 8ed0749a34 The llvm_gcda_increment_indirect_counter function writes to the arguments that
are passed in. However, those arguments may be in a write-protected area, as far
as the runtime library is concerned. For instance, the data could be placed into
a 'linkedit' section, which isn't writable. Emit the code from
llvm_gcda_increment_indirect_counter directly into the function instead.

Note: The code for this is ugly, and can lead to bloat. We should look into
simplifying this code instead of having all of these branches.

<rdar://problem/11181370>

llvm-svn: 157505
2012-05-25 23:55:00 +00:00
..
Analysis Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Archive Include cstdio in a few place that depended on getting it transitively through StringExtras.h 2012-03-23 11:35:30 +00:00
AsmParser Silence Clang's -Wlogical-op-parentheses warning. 2012-05-24 17:11:00 +00:00
Bitcode revert r156383: removal of TYPE_CODE_FUNCTION_OLD 2012-05-23 15:19:39 +00:00
CodeGen Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCall 2012-05-25 16:35:28 +00:00
DebugInfo Fix a C++11 UDL conflict. 2012-04-04 20:33:56 +00:00
ExecutionEngine Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually used. 2012-05-21 16:57:17 +00:00
Linker Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
MC Compress MCRegisterInfo register name tables. 2012-05-25 00:21:41 +00:00
Object Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Support Remove the PTX back-end and all of its artifacts (triple, etc.) 2012-05-24 21:38:21 +00:00
TableGen Add support for range expressions in TableGen foreach loops. 2012-05-24 22:17:39 +00:00
Target Fix predicate HasStandardEncoding in MipsInstrInfo.td per suggestion of 2012-05-25 22:15:15 +00:00
Transforms The llvm_gcda_increment_indirect_counter function writes to the arguments that 2012-05-25 23:55:00 +00:00
VMCore Add half support to LLVM (for OpenCL) 2012-05-24 15:59:06 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00