- Mar 15, 2014
-
-
Matt Arsenault authored
Use sign_extend_inreg and getZeroExtendInReg instead of using the bit operations they expand into. llvm-svn: 203988
-
Richard Smith authored
its keywordliness. llvm-svn: 203987
-
Rui Ueyama authored
Microsoft PE/COFF Spec clearly states that the field is of signed interger type. However, in reality, it's unsigned. If cl.exe needs to create a large number of sections for COMDAT sections, it will just create more than 32768 sections. Handling large section number as negative number is not correct. I think this is a spec bug. Differential Revision: http://llvm-reviews.chandlerc.com/D3088 llvm-svn: 203986
-
Greg Clayton authored
Parse DW_AT_ranges for compile units on Darwin when .debug_aranges is not available for the current compile unit. <rdar://problem/16321434> llvm-svn: 203985
-
Fariborz Jahanian authored
'init' methods which are unavailable. Subclasses of NSObject have to implement such methods as a common pattern to prevent user's own implementation. // rdar://16305460 llvm-svn: 203984
-
Adrian Prantl authored
llvm-svn: 203983
-
Adrian Prantl authored
based on the ODR. This adds an OdrMemberMap to DwarfDebug which is used to unique C++ member function declarations based on the unique identifier of their containing class and their mangled name. We can't use the usual DIRef mechanism here because DIScopes are indexed using their entire MDNode, including decl_file and decl_line, which need not be unique (see testcase). Prior to this change multiple redundant member function declarations would end up in the same uniqued DW_TAG_class_type. llvm-svn: 203982
-
Adrian Prantl authored
llvm-svn: 203981
-
Adrian Prantl authored
llvm-svn: 203980
-
Jim Grosbach authored
For better or worse, this is currently the normal error reporting path when dealing with backend errors from inline assembly. It's not just internal compiler issues that come through here, so we shouldn't be creating a backtrace on this path. rdar://16329947 llvm-svn: 203979
-
Richard Smith authored
complete. We hook into this check from a couple of other places (modules, debug info) so it's not OK to elide the check if the type was already complete. llvm-svn: 203978
-
Diego Novillo authored
llvm-svn: 203977
-
Diego Novillo authored
Summary: The sample profiler pass emits several error messages. Instead of just aborting the compiler with report_fatal_error, we can emit better messages using DiagnosticInfo. This adds a new sub-class of DiagnosticInfo to handle the sample profiler. Reviewers: chandlerc, qcolombet CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3086 llvm-svn: 203976
-
Aaron Ballman authored
[C++11] Removing the found_decls_begin() and found_decls_end() APIs and replacing with a range-only found_decls() API. llvm-svn: 203975
-
Richard Smith authored
(for an integer too large for any signed type) from Warning to ExtWarn -- it's ill-formed in C++11 and C99 onwards, and UB during translation in C89 and C++98. Add diagnostic groups for two relevant diagnostics. llvm-svn: 203974
-
Eric Christopher authored
Fix up testcases and use of flag. llvm-svn: 203973
-
Eric Christopher authored
llvm-svn: 203972
-
Aaron Ballman authored
[C++11] Removing the types_begin() and types_end() APIs and replacing with a range-only types() API. llvm-svn: 203971
-
Aaron Ballman authored
[C++11] Removing the local_import_begin() and local_import_end() APIs and replacing with a range-only local_imports() API. Privatizes the iterator class as well. llvm-svn: 203970
-
Eric Christopher authored
any lexical scopes then go ahead and turn on DW_AT_ranges for the compile unit since we would be claiming to describe in the CU a range for which we don't have information in the CU otherwise. llvm-svn: 203969
-
Eric Christopher authored
Rewrite a couple of testcases to cover areas that would be normally by turning it on into testcases that will follow the logic. llvm-svn: 203968
-
David Blaikie authored
This sometimes remains null into MCLineTableHeader::Emit where we conditionally construct a label if one isn't provided for us. We need it to remain null (rather than just always constructing the label) so we can identify unused line tables... which is a bit weird and maybe we can do away with that logic one day (& on that day we can always construct the label up-front and just have compilation units query the line table for its label, etc) llvm-svn: 203967
-
Fariborz Jahanian authored
'init' methods which are unavailable. Subclasses of NSObject have to implement such methods as a common pattern to prevent user's own implementation. // rdar://16305460 llvm-svn: 203966
-
Aaron Ballman authored
llvm-svn: 203965
-
Richard Smith authored
* Explicitly say that we conform to the two N/A bullets that required no compiler changes. * Remove a library feature from our features list. llvm-svn: 203964
-
David Blaikie authored
The member variable is not initialized in the ctor so it's already empty. No need to empty it again. llvm-svn: 203963
-
Rafael Espindola authored
We were marking the symbol as absolute instead of computing b's offset + the expression value. This fixes pr19126. llvm-svn: 203962
-
James Dennett authored
llvm-svn: 203961
-
David Blaikie authored
llvm-svn: 203960
-
Aaron Ballman authored
[C++11] Replacing CapturedStmt iterators capture_init_begin() and capture_init_end() with iterator_range capture_inits(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203959
-
Aaron Ballman authored
[C++11] Replacing BlockDecl iterators capture_begin() and capture_end() with iterator_range captures(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203958
-
Andreas Simbuerger authored
llvm-svn: 203957
-
Greg Clayton authored
Move LLDBWrapPython.cpp into the build folder for Xcode builds so it doesn't muck with cmake builds. llvm-svn: 203956
-
Saleem Abdulrasool authored
libxml2's include path was unconditionally set to /usr/include/libxml2. This would work previously, however, Mavericks removed the /usr/include directory. Since LLDB already requires clang, which via LLVM's build infrastructure searches for libxml2, we have a proper include path for libxml2. If LIBXML2_FOUND is set, do not touch the libxml2 search path. Instead, allow the clang's definition to propagate throughout the LLVM build. Otherwise, switch to find_package(LibXml2) as clang does. This will ensure that the correct path is used for libxml2 irrespective of the platform. Furthermore, treat libxml2 as a system provided library. It is not part of the LLVM source base so it is of little value to enable all warnings on its headers. This unifies the treatment of libxml2 across clang and LLDB. llvm-svn: 203955
-
Fariborz Jahanian authored
initializers; but only those declared in class extensions (not in implementations). // rdar://16305347 llvm-svn: 203954
-
Aaron Ballman authored
[C++11] Replacing CapturedStmt iterators capture_begin() and capture_end() with iterator_range captures(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203953
-
Andreas Simbuerger authored
This reverts the broken modularized build. This builds the classic loadable module. The separation of library and plugin is yet to be done in a future patch. llvm-svn: 203952
-
Hans Wennborg authored
llvm-svn: 203951
-
James Dennett authored
Summary: Gracefully fail to evaluate a constant expression if its type is unknown, rather than failing an assertion trying to access the type. Reviewers: klimek Reviewed By: klimek CC: chandlerc, cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D3075 llvm-svn: 203950
-
Timur Iskhodzhanov authored
Reviewed at http://llvm-reviews.chandlerc.com/D3054 llvm-svn: 203949
-