llvm-6502/test
Hal Finkel b6bb7db62b [PowerPC] Fix calls to non-function objects
Looking at r225438 inspired me to see how the PowerPC backend handled the
situation (calling a bitcasted TLS global), and it turns out we also produced
an error (cannot select ...). What it means to "call" something that is not a
function is implementation and platform specific, but in the name of doing
something (besides crashing), this makes sure we do what GCC does (treat all
such calls as calls through a function pointer -- meaning that the pointer is
assumed, as is the convention on PPC, to point to a function descriptor
structure holding the actual code address along with the function's TOC pointer
and environment pointer). As GCC does, we now do the same for calling regular
(non-TLS) non-function globals too.

I'm not sure whether this is the most useful way to define the behavior, but at
least we won't be alone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225617 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-12 04:34:47 +00:00
..
Analysis Fix PR22179. 2015-01-10 23:41:24 +00:00
Assembler IR: Add 'distinct' MDNodes to bitcode and assembly 2015-01-08 22:38:29 +00:00
Bindings Disable Go bindings test under UBSan. 2015-01-09 23:17:23 +00:00
Bitcode Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
BugPoint
CodeGen [PowerPC] Fix calls to non-function objects 2015-01-12 04:34:47 +00:00
DebugInfo Revert "Reapply: Teach SROA how to update debug info for fragmented variables." 2015-01-08 02:02:00 +00:00
ExecutionEngine [MCJIT] Remove a few redundant MCJIT tests, and drop the extraneous datalayout 2015-01-08 18:52:15 +00:00
Feature Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
FileCheck
Instrumentation Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
Integer
JitListener Fix the JIT event listeners and replace the associated tests. 2015-01-09 22:53:24 +00:00
Linker Utils: Keep distinct MDNodes distinct in MapMetadata() 2015-01-08 22:42:30 +00:00
LTO Use the DiagnosticHandler to print diagnostics when reading bitcode. 2015-01-10 00:07:30 +00:00
MC ARM: add support for segment base relocations (SBREL) 2015-01-11 04:39:18 +00:00
Object Don't loop endlessly for MachO files with 0 ncmds 2015-01-06 17:08:26 +00:00
Other [PM] Give slightly less horrible names to the utility pass templates for 2015-01-07 11:14:51 +00:00
SymbolRewriter
TableGen
tools Add the option, -universal-headers, used with -macho to print the Mach-O universal headers to llvm-objdump. 2015-01-09 19:22:37 +00:00
Transforms [PowerPC] Readjust the loop unrolling threshold 2015-01-10 00:31:10 +00:00
Unit
Verifier Change the .ll syntax for comdats and add a syntactic sugar. 2015-01-06 22:55:16 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg llvm/test/lit.cfg: have_ld_plugin_support(): Use decode() for stdout. 2015-01-05 14:18:04 +00:00
lit.site.cfg.in [lit] Make config.llvm_lib_dir available on cmake, too. 2014-12-30 03:24:11 +00:00
Makefile [lit] Make config.llvm_lib_dir available on cmake, too. 2014-12-30 03:24:11 +00:00
Makefile.tests
TestRunner.sh