- Apr 29, 2015
-
-
Omair Javaid authored
Its mostly imported from MacOSx ABI for arm which is similar. Further tweaking a updates may be required at a later stage. http://reviews.llvm.org/D8539 llvm-svn: 236097
-
Toma Tabacu authored
Summary: Do the assemble-time shifts from createLShiftOri at the source, which groups all the shifting together, closer to the main logic path, and store the results in concisely-named variables to improve code clarity. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8973 llvm-svn: 236096
-
Aidan Dodds authored
llvm-svn: 236095
-
Elena Demikhovsky authored
llvm-svn: 236093
-
Elena Demikhovsky authored
llvm-svn: 236092
-
Daniel Jasper authored
Buggy case: someFunction( [] { // comment int i; // invoke formatting here. }, // force line break aaa); llvm-svn: 236091 -
Hafiz Abid Qadeer authored
This command is able to list both local variables and stack arguments for a specific thread/frame. Args are denoted with 'arg="1"'. Patch from Chuck Ries. llvm-svn: 236090
-
Craig Topper authored
llvm-svn: 236089
-
Craig Topper authored
llvm-svn: 236088
-
Craig Topper authored
[TableGen] Replace some dyn_casts followed by an assert with just a regular cast which asserts internally. NFC llvm-svn: 236087
-
Elena Demikhovsky authored
llvm-svn: 236086
-
Alexey Bataev authored
llvm-svn: 236084
-
Craig Topper authored
llvm-svn: 236083
-
Nico Weber authored
llvm-svn: 236082
-
Hans Wennborg authored
Follow-up to r236077. llvm-svn: 236081
-
Filipe Cabecinhas authored
llvm-svn: 236080
-
Filipe Cabecinhas authored
Same as r236073 but for PointerType. Bug found with AFL fuzz. llvm-svn: 236079
-
Filipe Cabecinhas authored
ArrayType and StructType accept the same types, so no test. llvm-svn: 236078
-
Hans Wennborg authored
It doesn't have a maintainer and none of the release testers test it, so I don't think it should be part of the release. http://reviews.llvm.org/D9331 llvm-svn: 236077
-
Filipe Cabecinhas authored
Bug found with AFL fuzz. llvm-svn: 236076
-
Richard Trieu authored
-Wpessimizing-move warns when a call to std::move would prevent copy elision if the argument was not wrapped in a call. This happens when moving a local variable in a return statement when the variable is the same type as the return type or using a move to create a new object from a temporary object. -Wredundant-move warns when an implicit move would already be made, so the std::move call is not needed, such as when moving a local variable in a return that is different from the return type. Differential Revision: http://reviews.llvm.org/D7633 llvm-svn: 236075
-
Lang Hames authored
resolver with a diagnostic instread. llvm-svn: 236074
-
Filipe Cabecinhas authored
Bug found with AFL fuzz. llvm-svn: 236073
-
Richard Smith authored
PR20625: Instantiate static constexpr member function of a local struct in a function template earlier. This is necessary in order to allow the use of a constexpr member function, or a member function with deduced return type, of a local class within a surrounding instantiated function template specialization. Patch by Michael Park! llvm-svn: 236063
-
Matthias Braun authored
llvm-svn: 236062
-
Hans Wennborg authored
These haven't done anything since before r142165. llvm-svn: 236061
-
Eric Christopher authored
for ARM while the backend will only ignore them. No functional change intended. llvm-svn: 236060
-
Adrian Prantl authored
in the debug info. This patch deletes a hack that emits the members of local anonymous unions as local variables. Besides being morally wrong, the existing representation using local variables breaks internal assumptions about the local variables' storage size. Compiling ``` void fn1() { union { int i; char c; }; i = c; } ``` with -g -O3 -verify will cause the verifier to fail after SROA splits the 32-bit storage for the "local variable" c into two pieces because the second piece is clearly outside the 8-bit range that is expected for a variable of type char. Given the choice I'd rather fix the debug representation than weaken the verifier. Debuggers generally already know how to deal with anonymous unions when they are members of C++ record types, but they may have problems finding the local anonymous struct members in the expression evaluator. rdar://problem/20730771 llvm-svn: 236059 -
Rafael Espindola authored
llvm-svn: 236058
-
Reid Kleckner authored
llvm-svn: 236057
-
Eric Christopher authored
Patch by Teresa Johnson. llvm-svn: 236056
-
Eric Christopher authored
the profile output from the command line via -fprofile-instr-generate=<path>, where the specified output path/file will be overridden by the LLVM_PROFILE_FILE environment variable. Several changes are made to the runtime to support this: Add a new interface __llvm_profile_override_default_filename that will set the profile output filename, but allows LLVM_PROFILE_FILE to override. This is the interface used by the new option. Refactor the pid-expansion done for LLVM_PROFILE_FILE into a separate routine that can be shared by the various filename setting routines (so that the filename from the option can also use the "%p" syntax). Move the truncation into setFilename, and only truncate if there is a new filename specified (to maintain support for appending to the same profile file in the case of multiple shared objects built with profiling). Move the handling for a NULL filename passed to __llvm_profile_set_filename and __llvm_profile_override_default_filename into the new setFilenamePossiblyWithPid routine. This now correctly resets the output file to default.profraw instead of NULL. The handling for a null LLVM_PROFILE_FILE (which should not reset) is done by caller setFilenameFromEnvironment. Patch by Teresa Johnson. llvm-svn: 236055
-
Eric Christopher authored
llvm-svn: 236054
-
Rafael Espindola authored
New sections are added to the end of the list, so the RelSections array was redundant. llvm-svn: 236053
-
Reid Kleckner authored
This is just the clang-side of 32-bit SEH. LLVM still needs work, and it will determinstically fail to compile until it's feature complete. On x86, all outlined handlers have no parameters, but they do implicitly take the EBP value passed in and use it to address locals of the parent frame. We model this with llvm.frameaddress(1). This works (mostly), but __finally block inlining can break it. For now, we apply the 'noinline' attribute. If we really want to inline __finally blocks on 32-bit x86, we should teach the inliner how to untangle frameescape and framerecover. Promote the error diagnostic from codegen to sema. It now rejects SEH on non-Windows platforms. LLVM doesn't implement SEH on non-x86 Windows platforms, but there's nothing preventing it. llvm-svn: 236052
-
Steven Wu authored
llvm-svn: 236051
-
Tim Northover authored
We were trying to look through COPY instructions, but only to the next instruction in a BB and incorrectly anyway. The cases where that would actually be a good idea are rare enough (and not even tested!) that it's not worth trying to get right. rdar://20721342 llvm-svn: 236050
-
Rafael Espindola authored
Set the group section index as they are created. llvm-svn: 236049
-
Andrew Kaylor authored
llvm-svn: 236048
-
Rafael Espindola authored
llvm-svn: 236047
-