- Sep 09, 2013
-
-
Manman Ren authored
DIScope::getContext is a wrapper function that calls the specific getContext method on each subclass. When we switch DIType::getContext to return DIScopeRef instead of DIScope, DIScope::getContext can no longer return a DIScope without a type identifier map. DIScope::getContext is only used by DwarfDebug, so we move it to DwarfDebug to have easy access to the type identifier map. llvm-svn: 190330
-
Rui Ueyama authored
llvm-svn: 190329
-
Bob Wilson authored
The work on this project was left in an unfinished and inconsistent state. Hopefully someone will eventually get a chance to implement this feature, but in the meantime, it is better to put things back the way the were. I have left support in the bitcode reader to handle the case-range bitcode format, so that we do not lose bitcode compatibility with the llvm 3.3 release. This reverts the following commits: 155464, 156374, 156377, 156613, 156704, 156757, 156804 156808, 156985, 157046, 157112, 157183, 157315, 157384, 157575, 157576, 157586, 157612, 157810, 157814, 157815, 157880, 157881, 157882, 157884, 157887, 157901, 158979, 157987, 157989, 158986, 158997, 159076, 159101, 159100, 159200, 159201, 159207, 159527, 159532, 159540, 159583, 159618, 159658, 159659, 159660, 159661, 159703, 159704, 160076, 167356, 172025, 186736 llvm-svn: 190328
-
Sean Silva authored
Adornments need to be at least as long as the thing they adorn. llvm-svn: 190327
-
Sean Silva authored
llvm-svn: 190326
-
Manman Ren authored
This helper function needs the type identifier map when we switch DIType::getContext to return DIScopeRef instead of DIScope. Since isSubprogramContext is used by DwarfDebug only, We move it to DwarfDebug to have easy access to the map. llvm-svn: 190325
-
Sean Silva authored
llvm-svn: 190324
-
Hans Wennborg authored
Apparently folks run into this (PR17097). The flag is not supported by MSVC either, but we should parse it so we don't get confused when it occurs. This changes the clang-cl output for "clang-cl /c /o foo.obj" from: clang-cl.exe: error: no such file or directory: '/o' clang-cl.exe: error: no such file or directory: 'foo.obj' to: clang-cl.exe: warning: argument unused during compilation: '/o bajs.obj' llvm-svn: 190323
-
Manman Ren authored
A reference to a scope is more general than a reference to a type since DIType is a subclass of DIScope. A reference to a type can be either an identifier for the type or the DIType itself, while a reference to a scope can be either an identifier for the type (when the scope is indeed a type) or the DIScope itself. A reference to a type and a reference to a scope will be resolved in the same way. The only difference is in the verifier when a field is a reference to a type (i.e. the containing type field of a DICompositeType) or a field is a reference to a scope (i.e. the context field of a DIType). This is to get ready for switching DIType::getContext to return DIScopeRef instead of DIScope. Tighten up isTypeRef and isScopeRef to make sure the identifier is not empty and the MDNode is DIType for TypeRef and DIScope for ScopeRef. llvm-svn: 190322
-
Manman Ren authored
TAG_file_type is also a scope. llvm-svn: 190321
-
Marshall Clow authored
Update synopsis for list/forward_list/deque to match the allocator style of existing comment. No code change llvm-svn: 190320
-
Ed Maste authored
The workaround was introduced in SVN r181613, for http://llvm.org/pr15854 llvm-svn: 190319
-
Akira Hatanaka authored
stores, make sure the load or store that accesses the higher half does not have an alignment that is larger than the offset from the original address. llvm-svn: 190318
-
Benjamin Kramer authored
llvm-svn: 190317
-
Ted Kremenek authored
llvm-svn: 190316
-
Richard Smith authored
it is an implicit instantiation of a class template specialization), pick the first-loaded definition to be the canonical definition, and merge all other definitions into it. This is still rather incomplete -- we need to extend every form of declaration that can appear within a CXXRecordDecl to be redeclarable if it came from an AST file (this includes fields, enumerators, ...). llvm-svn: 190315
-
Benjamin Kramer authored
llvm-svn: 190314
-
Benjamin Kramer authored
PR17105. llvm-svn: 190312
-
Benjamin Kramer authored
Noticed by Roman Divacky. llvm-svn: 190311
-
Aaron Watry authored
Thanks to Jordon Rose <jordan_rose@apple.com> for pointing this out. llvm-svn: 190310
-
Joey Gouly authored
IT blocks can only be one instruction lonf, and can only contain a subset of the 16 instructions. Patch by Artyom Skrobov! llvm-svn: 190309
-
Aaron Ballman authored
llvm-svn: 190308
-
Ed Maste authored
(I didn't take a guess at the Linux names, as these tests are currently skipped with the comment "No standard locations for libc++ on Linux.") llvm-svn: 190307
-
Evgeniy Stepanov authored
llvm-svn: 190306
-
Aaron Ballman authored
llvm-svn: 190305
-
Aaron Ballman authored
llvm-svn: 190304
-
Aaron Ballman authored
Removing the endian attribute and updating associated test cases. This functionality was never completely implemented, and this is an improvement over silently eating the attribute. llvm-svn: 190303
-
Joerg Sonnenberger authored
llvm-svn: 190302
-
Joerg Sonnenberger authored
llvm-svn: 190301
-
Robert Lytton authored
Fix XCoreLowerThreadLocal trying to initialise globals which have no initializer. Add handling of const expressions containing thread local variables. These need to be replaced with instructions, as the thread ID is used to access the thread local variable. llvm-svn: 190300
-
Robert Lytton authored
This sidesteps a bug in PrescheduleNodesWithMultipleUses() which does not check if callResources will be affected by the transformation. llvm-svn: 190299
-
Robert Lytton authored
llvm-svn: 190298
-
David Tweed authored
"long long" which is currently technically only "reserved for future" use in OpenCL, but since clang in OpenCL mode supports it we may as well test the modifications to the settings made for that type. llvm-svn: 190297
-
David Tweed authored
languages, as well as specifying errno is not set by the math functions. Make the clang front-end set those appropriately when the OpenCL language option is set. Patch by Erik Schnetter! llvm-svn: 190296
-
Evgeniy Stepanov authored
strerror_r on OSX returns a positive error code when the errno value is unknown. Buffer contents are initialized in any case. llvm-svn: 190295
-
Stepan Dyatkovskiy authored
-- For TargetInfo::getRealTypeByWidth also added support for IEEEQuad float type. llvm-svn: 190294
-
Richard Smith authored
name lookup from lazily deserializing the other declarations with the same name, by tracking a bit to indicate whether a name in a DeclContext might have additional external results. This also allows lazier reconciling of the lookup table if a module import adds decls to a pre-existing DC. However, this exposes a pre-existing bug, which causes a regression in test/Modules/decldef.mm: if we have a reference to a declaration, and a later-imported module adds a redeclaration, nothing causes us to load that redeclaration when we use or emit the reference (which can manifest as a reference to an undefined inline function, a use of an incomplete type, and so on). decldef.mm has been extended with an additional testcase which fails with or without this change. llvm-svn: 190293
-
Evgeniy Stepanov authored
llvm-svn: 190292
-
-
Bill Wendling authored
We used to generate the compact unwind encoding from the machine instructions. However, this had the problem that if the user used `-save-temps' or compiled their hand-written `.s' file (with CFI directives), we wouldn't generate the compact unwind encoding. Move the algorithm that generates the compact unwind encoding into the MCAsmBackend. This way we can generate the encoding whether the code is from a `.ll' or `.s' file. <rdar://problem/13623355> llvm-svn: 190290
-