1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/unittests
Rafael Espindola e5f71f18e0 Allow aliases to be unnamed_addr.
Alias with unnamed_addr were in a strange state. It is stored in GlobalValue,
the language reference talks about "unnamed_addr aliases" but the verifier
was rejecting them.

It seems natural to allow unnamed_addr in aliases:

* It is a property of how it is accessed, not of the data itself.
* It is perfectly possible to write code that depends on the address
of an alias.

This patch then makes unname_addr legal for aliases. One side effect is that
the syntax changes for a corner case: In globals, unnamed_addr is now printed
before the address space.

llvm-svn: 210302
2014-06-06 01:20:28 +00:00
..
ADT Remove use of = default/= delete as they're unsupported on MSVC2012 2014-05-09 02:26:36 +00:00
Analysis Disable -Wcomment when building with GCC. 2014-05-06 09:46:06 +00:00
Bitcode verify-di: Implement DebugInfoVerifier 2014-04-15 16:27:38 +00:00
CodeGen DIE: Pass ownership of children via std::unique_ptr rather than raw pointer. 2014-04-25 20:00:34 +00:00
DebugInfo [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
ExecutionEngine Add C API for thread yielding callback. 2014-05-16 02:33:15 +00:00
IR Allow aliases to be unnamed_addr. 2014-06-06 01:20:28 +00:00
LineEditor raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
Linker LinkModulesTest.cpp: Reformat. 2014-04-29 15:52:46 +00:00
MC Fix MCDataAtom never calling remap when adding data. 2013-10-16 18:26:16 +00:00
Object ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
Option Retire llvm::array_endof in favor of non-member std::end. 2014-04-12 16:15:53 +00:00
Support Make this operator bool() explicit to match the standard library. 2014-06-03 04:42:24 +00:00
Transforms Use create methods since msvc doesn't handle delegating constructors. 2014-05-17 21:29:57 +00:00
CMakeLists.txt [CMake] Enable llvm/unittests/LinkerTests. It had not been enabled since r199354. 2014-04-29 15:52:36 +00:00
Makefile Introduce line editor library. 2014-01-31 23:46:14 +00:00
Makefile.unittest With rpaths being set correctly, SHLIBPATH_VAR is not needed anymore. 2014-02-28 16:16:51 +00:00