- Aug 28, 2013
-
-
Argyrios Kyrtzidis authored
[BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator, instead of a static variable. The problem with having DefaultSlabAllocator being a global static is that it is undefined if BumpPtrAllocator will be usable during global initialization because it is not guaranteed that DefaultSlabAllocator will be initialized before BumpPtrAllocator is created and used. llvm-svn: 189433
-
Akira Hatanaka authored
Also, fix predicates. llvm-svn: 189432
-
Akira Hatanaka authored
No functionality change. llvm-svn: 189431
-
Akira Hatanaka authored
llvm-svn: 189430
-
David Majnemer authored
Sorry for the churn. llvm-svn: 189429
-
Eric Christopher authored
llvm-svn: 189428
-
Eric Christopher authored
algorithm. Update the split dwarf hashing testcase accordingly - this should be the last time that the hash of an empty file changes. llvm-svn: 189427
-
Ted Kremenek authored
Revert "Use CMAKE_RUNTIME_OUTPUT_DIRECTORY instead of LLVM_BINARY_DIR for installing Clang headers." This appears to be breaking the buildbots. llvm-svn: 189426
-
David Majnemer authored
llvm-svn: 189425
-
Rui Ueyama authored
This reverts r189416. llvm-svn: 189424
-
Rui Ueyama authored
llvm-svn: 189423
-
David Majnemer authored
Summary: Instead of calling getAsTemplate(), call getAsTemplateOrTemplatePattern() because it handles the TemplateExpansion case too. This fixes PR16997. Reviewers: doug.gregor, rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1512 llvm-svn: 189422
-
David Blaikie authored
This reverts commit r189320. Alexey Samsonov and Dmitry Vyukov presented some arguments for keeping these around - though it still seems like those tasks could be solved by a tool just using the symbol table. In a very small number of cases, thunks may be inlined & debug info might be able to save profilers & similar tools from misclassifying those cases as part of the caller. The extra changes here plumb through the VarDecl for various cases to CodeGenFunction - this provides better fidelity through a few APIs but generally just causes the CGF::StartFunction to fallback to using the name of the IR function as the name in the debug info. The changes to debug-info-global-ctor-dtor.cpp seem like goodness. The two names that go missing (in favor of only emitting those names as linkage names) are names that can be demangled - emitting them only as the linkage name should encourage tools to do just that. Again, thanks to Dinesh Dwivedi for investigation/work on this issue. llvm-svn: 189421
-
Fariborz Jahanian authored
cf annotation patch. llvm-svn: 189420
-
Eric Christopher authored
when we can. Migrate from using blocks when we're adding just a single attribute and floating point values are an unsigned, not signed, bag of bits. Update all test cases accordingly. llvm-svn: 189419
-
Eric Christopher authored
llvm-svn: 189418
-
Rui Ueyama authored
r189416 changed the order of command line options shown in help message, so the test needs adjusting. llvm-svn: 189417
-
Rui Ueyama authored
Link.exe's command line options are case-insensitive. This patch adds a new attribute to OptTable to let the option parser to compare options, ignoring case. Command lines are generally case-insensitive on Windows. CL.exe is an exception. So this new attribute should be useful for other commands running on Windows. Differential Revision: http://llvm-reviews.chandlerc.com/D1485 llvm-svn: 189416
-
Argyrios Kyrtzidis authored
This allows setting-up the LLVM_EXTERNAL_* CMake variables that some people are using, e.g. to set the source directory of the project in a different place. llvm-svn: 189415
-
Ted Kremenek authored
llvm-svn: 189414
-
Rui Ueyama authored
llvm-svn: 189413
-
Reid Kleckner authored
Summary: Makes functions with implicit calling convention compatible with function types with a matching explicit calling convention. This fixes things like calls to qsort(), which has an explicit __cdecl attribute on the comparator in Windows headers. Clang will now infer the calling convention from the declarator. There are two cases when the CC must be adjusted during redeclaration: 1. When defining a non-inline static method. 2. When redeclaring a function with an implicit or mismatched convention. Fixes PR13457, and allows clang to compile CommandLine.cpp for the Microsoft C++ ABI. Excellent test cases provided by Alexander Zinenko! Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D1231 llvm-svn: 189412
-
Reid Kleckner authored
These files are intended to live in the msbuild toolset directory, which is somewhere like: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\ v4.0\Platforms\Win32\PlatformToolsets\llvm More work is needed to install them as part of the NSIS installer. Patch by Warren Hunt! llvm-svn: 189411
-
Manman Ren authored
createClassType, createStructType, createUnionType, createEnumerationType, and createForwardDecl will take an optional StringRef to pass in the unique identifier. llvm-svn: 189410
-
Fariborz Jahanian authored
cf functions which are CF_IMPLICIT_BRIDGING_ENABLED. Add cf annotation to those not CF_IMPLICIT_BRIDGING_ENABLED to reduce bridge casts. llvm-svn: 189409
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1503 llvm-svn: 189408
-
- Aug 27, 2013
-
-
David Majnemer authored
Summary: MASM let's you do stuff like 'MOV FS:20, EAX' and 'MOV EAX, FS:20' Reviewers: craig.topper, rnk Reviewed By: rnk CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1470 llvm-svn: 189407
-
Jordan Rose authored
This time, use a variable that's defined consistently in standalone and non-standalone builds. llvm-svn: 189406
-
Daniel Malea authored
- add default timeout of 10s (unil qPlatform_RunCommand supports timeout packets and CommandObjectPlatform is updated to read a timeout flag/setting) - add a few tests for platform shell llvm-svn: 189405
-
Daniel Malea authored
- move LaunchProcessPosixSpawn() and Host::LaunchProcess() from freebsd host plugin to common (linux/freebsd section) - modify MonitorChildProcessThreadFunction to use pid_t from sys/types.h to avoid Linux/FreeBSD/Mac warnings when calling waitpid() llvm-svn: 189404
-
Ted Kremenek authored
Revert "[CMake] Use CLANG_BINARY_DIR instead of LLVM_BINARY_DIR as installation path for Clang headers." This was breaking some tests. Will investigate. llvm-svn: 189403
-
Ted Kremenek authored
llvm-svn: 189402
-
Marshall Clow authored
llvm-svn: 189401
-
Joerg Sonnenberger authored
first. Use this to turn the PPC modifiers into PPC specific expressions, allowing them to work on constants. llvm-svn: 189400
-
Marshall Clow authored
llvm-svn: 189399
-
Marshall Clow authored
LWG issues 2174/5/6 - mark wstring_convert::converted as noexcept, and make (some of) the constructors for wstring_convert and wbuffer_convert as explicit. Add configuration macro _LIBCPP_EXPLICIT_AFTER_CXX11 llvm-svn: 189398
-
Greg Clayton authored
Moved the static s_regex into a function body to allow it to be lazily initialized when/if it is ever used. We try to avoid global constructors when building shared libraries on Darwin. llvm-svn: 189397
-
Jack Carter authored
llvm-svn: 189396
-
Roman Divacky authored
to lit and use this info to disable Analysis/FixIt/Rewriter/Analysis tests when those are not compiled into clang. llvm-svn: 189395
-
Roman Divacky authored
lit.site.cfg. llvm-svn: 189394
-