- Mar 27, 2013
-
-
Jack Carter authored
Made sure we were looking a correct section Added Mips32/64 as an extra check Updated llvm-objdump to generate symbolic info for Mips relocations llvm-svn: 178190
-
Enrico Granata authored
With this notion, if parties outside the ScriptInterpreter itself need to acquire a lock on script APIs, they can do so by a pattern like this: { auto lock = interpeter->AcquireInterpreterLock(); // do whatever you need to do... } // lock will automatically be released here This might be useful for classes that use the Python convenience objects (e.g. PythonDictionary) to ensure they keep the underlying interpreter in a safe and controlled condition while they call through the C API functions Of course, the ScriptInterpreter still manages its internal locking correctly when necessary :-) llvm-svn: 178189
-
Chad Rosier authored
llvm-svn: 178188
-
Chad Rosier authored
llvm-svn: 178187
-
Chad Rosier authored
expression. Specifically, this syntax: ImmDisp [ BaseReg + Scale*IndexReg + Disp ] We don't currently support: ImmDisp [ Symbol ] rdar://13518671 llvm-svn: 178186
-
Fariborz Jahanian authored
llvm-svn: 178184
-
John Thompson authored
Broke out header file list reading into separate function. Moved options to front. Removed some trailing spaces. llvm-svn: 178182
-
Argyrios Kyrtzidis authored
Per feedback by Doug, we should avoid platform-specific implementations in lib/Headers as much as possible. This reverts commit r178110. llvm-svn: 178181
-
Hal Finkel authored
These functions should have the same list of load/store instructions. Now that all load/store forms have been normalized (to single instructions or pseudos) they can be resynchronized. Found by inspection, although hopefully this will improve optimization. I've also added some comments. llvm-svn: 178180
-
Fariborz Jahanian authored
is accessing 'isa' as an object pointer. // rdar://13503456. FixIt to follow in another patch. llvm-svn: 178179
-
Ashok Thirumurthi authored
- modified a comment llvm-svn: 178178
-
-
Greg Clayton authored
llvm-svn: 178176
-
rdar://problem/13327940Greg Clayton authored
Enhance automated testing to include evaluating function calls. llvm-svn: 178175
-
Jack Carter authored
llvm-svn: 178174
-
Rafael Espindola authored
Now that the basic implementation in llvm has been fixed, simplify the specializations in clang. llvm-svn: 178173
-
John Thompson authored
llvm-svn: 178172
-
Preston Gurd authored
For the current Atom processor, the fastest way to handle a call indirect through a memory address is to load the memory address into a register and then call indirect through the register. This patch implements this improvement by modifying SelectionDAG to force a function address which is a memory reference to be loaded into a virtual register. Patch by Sriram Murali. llvm-svn: 178171
-
Hal Finkel authored
Thanks to Bill Schmidt for pointing this out during code review! llvm-svn: 178170
-
Hal Finkel authored
I had removed similar code a few days ago, but somehow missed this. llvm-svn: 178169
-
Ariel J. Bernal authored
cpp11-migrate segfaults when -use-auto tries to resolve initializing expression resulting in an expression with cleanups. - Skip expressions with cleanups from the initializer - Added test case Fixes PR15550 llvm-svn: 178167
-
Dan Gohman authored
in as an argument to push_back. llvm-svn: 178166
-
Hal Finkel authored
As Chris pointed out, post r178123, this is now done! llvm-svn: 178165
-
John Thompson authored
llvm-svn: 178164
-
Chad Rosier authored
likely the crash diagnostics generation will fail as well. Part of rdar://13296693 llvm-svn: 178163
-
Chad Rosier authored
Part of rdar://13296693 llvm-svn: 178162
-
Chad Rosier authored
if crash diagnostics should be generated. By default this is enabled. Part of rdar://13296693 llvm-svn: 178161
-
Jordan Rose authored
These types will not have a CXXConstructExpr to do the initialization for them. Previously we just used a simple call to ProgramState::bindLoc, but that doesn't trigger proper checker callbacks (like pointer escape). Found by Anton Yartsev. llvm-svn: 178160
-
Dmitry Vyukov authored
llvm-svn: 178159
-
Dmitry Vyukov authored
(e.g. suppressions and print_suppressions) llvm-svn: 178158
-
Dmitry Vyukov authored
llvm-svn: 178157
-
Bill Wendling authored
This may be causing a failure on some buildbots: Referencing function in another module! tail call fastcc void @_ZL11EvaluateOpstPtRj(i16 zeroext %17, i16* %Vals, i32* %NumVals), !dbg !219 Referencing function in another module! tail call fastcc void @_ZL11EvaluateOpstPtRj(i16 zeroext %19, i16* %Vals, i32* %NumVals), !dbg !221 Broken module found, compilation aborted! Stack dump: 0. Running pass 'Function Pass Manager' on module 'ld-temp.o'. 1. Running pass 'Module Verifier' on function '@_ZL11EvaluateOpstPtRj' clang: error: unable to execute command: Illegal instruction: 4 clang: error: linker command failed due to signal (use -v to see invocation) <rdar://problem/13516485> llvm-svn: 178156
-
David Blaikie authored
llvm-svn: 178155
-
Jim Ingham authored
llvm-svn: 178154
-
Anna Zaks authored
llvm-svn: 178153
-
Anna Zaks authored
The visitor should look for the PreStmt node as the receiver is nil in the PreStmt and this is the node. Also, tag the nil receiver nodes with a special tag for consistency. llvm-svn: 178152
-
Argyrios Kyrtzidis authored
[modules] Make sure enabled diagnostic pragmas inside the module don't affect the translation unit that imports the module. Getting diagnostic sections from modules properly working is a fixme. rdar://13516663 llvm-svn: 178151
-
Alexander Kornienko authored
Summary: Insert extra new line before access specifiers. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D581 llvm-svn: 178149
-
rdar://problem/13509689Douglas Gregor authored
<rdar://problem/13509689> Introduce -module-file-info option that provides information about a particular module file. This option can be useful for end users who want to know why they ended up with a ton of different variants of the "std" module in their module cache. This problem should go away over time, as we reduce the need for module variants, but it will never go away entirely. llvm-svn: 178148
-
Rafael Espindola authored
As far as simplify_type is concerned, there are 3 kinds of smart pointers: * const correct: A 'const MyPtr<int> &' produces a 'const int*'. A 'MyPtr<int> &' produces a 'int *'. * always const: Even a 'MyPtr<int> &' produces a 'const int*'. * no const: Even a 'const MyPtr<int> &' produces a 'int*'. This patch then does the following: * Removes the unused specializations. Since they are unused, it is hard to know which kind should be implemented. * Make sure we don't drop const. * Fix the default forwarding so that const correct pointer only need one specialization. * Simplifies the existing specializations. llvm-svn: 178147
-