summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [PowerPC ABI] Bug 21398 - Consider C++ base classes in HA classificationUlrich Weigand2014-10-292-0/+55
| | | | | | | | As discussed in bug 21398, PowerPC ABI code needs to consider C++ base classes when classifying a class as homogeneous aggregate (or not) for ABI purposes. llvm-svn: 220852
* clang/test/CodeGen/captured-statements-nested.c: Tweak for -Asserts.NAKAMURA Takumi2014-10-291-1/+1
| | | | llvm-svn: 220851
* Improved capturing variable-length array types in CapturedStmt.Alexey Bataev2014-10-2912-88/+149
| | | | | | | | An updated implemnentation of VLA types capturing based on previously committed solution for Lambdas. This version captures the whole VLA type instead of particular variables which are part of VLA size expression and allows to use previusly calculated size of VLA type in captured regions. Required for OpenMP. Differential Revision: http://reviews.llvm.org/D5099 llvm-svn: 220850
* Use enumerators instead of hardcoded integers when we decide if keyword is ↵Serge Pavlov2014-10-291-28/+38
| | | | | | enabled. llvm-svn: 220849
* Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabledMichael Kuperstein2014-10-293-12/+24
| | | | | | | | | | | | * Added LLVM libraries required for IntelJITEvents to LLVMBuild.txt. * Removed 'jit' library from llvm-jitlistener. * Added support for OptionalLibraries to llvm-build cmake files generator. Patch by aleksey.a.bader@intel.com Differential Revision: http://reviews.llvm.org/D5646 llvm-svn: 220848
* [OCaml] Expose Llvm.parse_command_line_options.Peter Zotov2014-10-293-0/+21
| | | | llvm-svn: 220847
* [OCaml] Expose Llvm_target.TargetMachine.add_analysis_passes.Peter Zotov2014-10-294-1/+16
| | | | llvm-svn: 220846
* [OCaml] If compiled without --enable-shared, hide packages from toplevel.Peter Zotov2014-10-292-0/+2
| | | | | | | | | | | Pretend they do not exist using exists_if. This is better than the current situation, which is the error: Error: The external function `llvm_global_succ' is not available but still somewhat confusing. llvm-svn: 220845
* [OCaml] Expose Llvm_bitwriter.write_bitcode_to_memory_buffer.Peter Zotov2014-10-294-14/+30
| | | | llvm-svn: 220844
* [OCaml] Drop support for 3.12.1 and earlier.Peter Zotov2014-10-2929-263/+167
| | | | | | | | | | In practice this means: * Always using -g flag. * Embedding -cclib -lstdc++ into the corresponding cma/cmxa file. This also moves -lstdc++ in a single place. * Using caml_named_value instead of a homegrown mechanism. llvm-svn: 220843
* [OCaml] Synchronize transformations with LLVM-C.Peter Zotov2014-10-2912-408/+507
| | | | | | | Also, rearrange the functions in a way that allows to quickly compare C headers and .mli/glue files. llvm-svn: 220842
* Don't capture DeclRefExpr::getNameInfo().getInfo(). It returns reference in ↵NAKAMURA Takumi2014-10-291-1/+1
| | | | | | | | | | | | | | | | | | temporary object. DeclarationNameInfo::getInfo() returns reference, but DeclRefExpr::getNameInfo() returns temporary DeclarationNameInfo(). It triggered a local crash for me. Failing Tests (1): Clang :: SemaTemplate/instantiate-overload-candidates.cpp Assertion failed! Program: bin\clang.EXE File: clang/lib/Basic/SourceManager.cpp, Line 822 Expression: 0 && "Invalid SLocOffset or bad function choice" llvm-svn: 220841
* macho-symbolized-disassembly.test: Don't check C++ demangler unconditionally.NAKAMURA Takumi2014-10-291-1/+4
| | | | | | | For example, MS PSDK is not expected to have <cxxabi.h>. You should introduce the new feature in lit.cfg corresponding to HAVE_CXXABI_H if you would like to test demangler. llvm-svn: 220840
* test: tweak inlined-allocs testSaleem Abdulrasool2014-10-291-4/+2
| | | | | | | | Remove pointless checks for storage of uninteresting values. Ensure that we perform basic alias analysis to make the test more correct. Finally, apply a stylistic change to the test. llvm-svn: 220839
* VMCore was renamed to IR long time agoSeo Sanghyeon2014-10-291-1/+1
| | | | llvm-svn: 220838
* Suppress clang-tools-extra/test/clang-tidy/file-filter.cpp on win32 for ↵NAKAMURA Takumi2014-10-291-0/+3
| | | | | | investigaitng. llvm-svn: 220837
* Shuffle a couple of formatters around. This should fix the bug that never ↵Enrico Granata2014-10-291-12/+10
| | | | | | dies, aka rdar://15154623 llvm-svn: 220836
* Objective-C modern rewriter. Patch to fix a rewriting bug Fariborz Jahanian2014-10-284-2/+9
| | | | | | | rewriting an Objective-C block. Patch by Ryan Govostes. rdar://18799145 llvm-svn: 220834
* Update llvm-objdump’s Mach-O symbolizer code to demangle C++ names.Kevin Enderby2014-10-283-6/+44
| | | | llvm-svn: 220833
* [OCaml] PR5595: Pass LDFLAGS to tests via -cclib.Peter Zotov2014-10-281-1/+1
| | | | llvm-svn: 220832
* [OCaml] PR14083, PR9606: Only pick *.odoc files from current build target.Peter Zotov2014-10-281-3/+4
| | | | | | | When several build targets, e.g. Debug+Asserts and Release+Asserts are present, ocamldoc complains of duplicate interfaces. llvm-svn: 220831
* [clang-tidy] Updated docs for r220826.Alexander Kornienko2014-10-281-0/+1
| | | | llvm-svn: 220830
* [OCaml] Fix whitespace.Peter Zotov2014-10-285-100/+100
| | | | llvm-svn: 220829
* [OCaml] PR9719, PR14727: Make tests run without ocamlopt.Peter Zotov2014-10-2816-20/+29
| | | | | | | | | | | | | | Previously, tests hardcoded ocamlopt and cmxa, which broke builds on machines without ocamlopt. Instead, they now fall back to ocamlc. As a side effect this fixes PR14727, which was caused by a crude hack that replaced gcc with g++ everywhere in the ocamlopt native compiler path and passes it back using -cc. Now the tests use the same technique as META, i.e. -cclib -lstdc++. It might be more fragile than using g++ explicitly, but it will break when the installed package will also break, which is good. llvm-svn: 220828
* [mach-o] generate LC_DATA_IN_CODE in final linked imagesNick Kledzik2014-10-282-2/+26
| | | | | | | | | lld was regenerating LC_DATA_IN_CODE in .o output files, but not into final linked images. Update test case to verify data-in-code info makes it into final linked images. llvm-svn: 220827
* [clang-tidy] Added -system-headers option.Alexander Kornienko2014-10-286-13/+41
| | | | | | | Added -system-headers option to allow display of warnings from system headers. This is needed for testing libcxx, for example. llvm-svn: 220826
* The dllimport.cpp test was gating some checks on #ifndef MSABI,Hans Wennborg2014-10-281-8/+12
| | | | | | | | | but MSABI was never defined in the test. It seems we are erroring on code that we should be accepting when compiling for MSVC compatibility. This should make the test less confusing until PR21406 is fixed. llvm-svn: 220825
* Add a few functions to SBType to handle arrays and typedefs. Fixes ↵Enrico Granata2014-10-283-1/+41
| | | | | | rdar://12675166 llvm-svn: 220824
* Add a few words of documentation for the the $\{var.script:\} featureEnrico Granata2014-10-281-0/+19
| | | | llvm-svn: 220823
* [mach-o] Turn -single_module error into a warningNick Kledzik2014-10-281-2/+2
| | | | | | To be more compatible with existing darwin linker. llvm-svn: 220822
* Add a feature where a string data formatter can now be partially composed of ↵Enrico Granata2014-10-2811-0/+203
| | | | | | | | | | | | | | Python summary functions This works similarly to the {thread/frame/process/target.script:...} feature - you write a summary string, part of which is ${var.script:someFuncName} someFuncName is expected to be declared as def someFuncName(SBValue,otherArgument) - essentially the same as a summary function Since . -> [] are the only allowed separators, and % is used for custom formatting, .script: would not be a legitimate symbol anyway, which makes this non-ambiguous llvm-svn: 220821
* Added the ability to add attributes to inlineSean Callanan2014-10-282-5/+21
| | | | | | | | | | | testcases. Also fixed one of the testcases to not run on the platforms that don't support Objective-C. We want to do better with the Objective-C attribute but we'll do that in a future commit. llvm-svn: 220820
* Objective-C remove an unused enumerator which causes Fariborz Jahanian2014-10-281-2/+1
| | | | | | warning in a switch statement. llvm-svn: 220819
* [OCaml] PR19859: Add functions to query and modify branches.Peter Zotov2014-10-284-2/+152
| | | | | | Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220818
* [C API] PR19859: Add functions to query and modify branches.Peter Zotov2014-10-282-0/+89
| | | | | | Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220817
* [OCaml] PR19859: Add tests for reading the values of numeric constants.Peter Zotov2014-10-281-8/+48
| | | | | | Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220816
* [OCaml] PR19859: Add Llvm.{fcmp_predicate,float_of_const}.Peter Zotov2014-10-283-0/+40
| | | | | | Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220815
* [C API] PR19859: Add LLVMGetFCmpPredicate and LLVMConstRealGetDouble.Peter Zotov2014-10-282-1/+49
| | | | | | Patch by Gabriel Radanne <drupyog@zoho.com>. llvm-svn: 220814
* clang-format: Improve && detection as binary operator.Daniel Jasper2014-10-282-2/+9
| | | | | | | | | | | | | | | | Before: template <class T, class = typename ::std::enable_if< ::std::is_array<T>{}&& ::std::is_array<T>{}>::type> void F(); After: template <class T, class = typename ::std::enable_if< ::std::is_array<T>{} && ::std::is_array<T>{}>::type> void F(); llvm-svn: 220813
* Objective-C. revert patch for rdar://17554063.Fariborz Jahanian2014-10-2819-219/+49
| | | | llvm-svn: 220812
* Transforms: reapply SVN r219899Saleem Abdulrasool2014-10-287-49/+112
| | | | | | | | | | | | | | | | This restores the commit from SVN r219899 with an additional change to ensure that the CodeGen is correct for the case that was identified as being incorrect (originally PR7272). In the case that during inlining we need to synthesize a value on the stack (i.e. for passing a value byval), then any function involving that alloca must be stripped of its tailness as the restriction that it does not access the parent's stack no longer holds. Unfortunately, a single alloca can cause a rippling effect through out the inlining as the value may be aliased or may be mutated through an escaped external call. As such, we simply track if an alloca has been introduced in the frame during inlining, and strip any tail calls. llvm-svn: 220811
* When trying to get the element type of an array type, do not go to the ↵Enrico Granata2014-10-283-1/+18
| | | | | | canonical type, since that will strip typedefs where we want them to be preserved. Fixes rdar://15453076 llvm-svn: 220810
* [AVX512] Fix VSQRT packed instructions internal names.Robert Khasanov2014-10-282-9/+9
| | | | | | No functional change llvm-svn: 220808
* clang-format: Fix test.Daniel Jasper2014-10-281-1/+1
| | | | llvm-svn: 220807
* [AVX512] Extended avx512_sqrt_packed (sqrt instructions) to VL subset.Robert Khasanov2014-10-284-28/+385
| | | | | | Refactored through AVX512_maskable llvm-svn: 220806
* clang-format: Improve && detection as binary operators.Daniel Jasper2014-10-282-0/+9
| | | | | | | | | | | | | | | Before: template <class T, class = typename std::enable_if<std::is_integral< T>::value &&(sizeof(T) > 1 || sizeof(T) < 8)>::type> void F(); After: template <class T, class = typename std::enable_if< std::is_integral<T>::value && (sizeof(T) > 1 || sizeof(T) < 8)>::type> void F(); llvm-svn: 220805
* Fix example in documentation of target triple sanitization.Eric Fiselier2014-10-281-1/+1
| | | | llvm-svn: 220804
* Actually remove this test entirely.Fariborz Jahanian2014-10-281-0/+0
| | | | llvm-svn: 220803
* [Objective-C]. revert r220740,r220727Fariborz Jahanian2014-10-284-63/+5
| | | | llvm-svn: 220802
* clang-format: Improve function declaration detection.Daniel Jasper2014-10-282-2/+3
| | | | | | | | | | | | | | | | | Before: ReturnType MACRO FunctionName() {} After: ReturnType MACRO FunctionName() {} This fixes llvm.org/PR21404. I wonder what the motivation for that if-condition was. But as no test breaks, ... llvm-svn: 220801
OpenPOWER on IntegriCloud