- May 07, 2015
-
-
Viktor Kutuzov authored
Differential Revision: http://reviews.llvm.org/D9460 llvm-svn: 236717
-
Mohit K. Bhakkad authored
llvm-svn: 236716
-
Elena Demikhovsky authored
Added FP compare intrinsics for SKX. llvm-svn: 236715
-
Elena Demikhovsky authored
Added intrinsics for the instructions. CC parameter of the intrinsics was changed from i8 to i32 according to the spec. By Igor Breger (igor.breger@intel.com) llvm-svn: 236714
-
Toma Tabacu authored
Summary: This will enable the IAS to reject floating point instructions if soft-float is enabled. Reviewers: dsanders, echristo Reviewed By: dsanders Subscribers: jfb, llvm-commits, mpf Differential Revision: http://reviews.llvm.org/D9053 llvm-svn: 236713
-
NAKAMURA Takumi authored
llvm-svn: 236712
-
NAKAMURA Takumi authored
llvm-svn: 236711
-
NAKAMURA Takumi authored
llvm/test/CodeGen/X86/llc-override-mcpu-mattr.ll: Tweak not to be affected by x64 Calling Convention. llvm-svn: 236710
-
NAKAMURA Takumi authored
Mark clang/test/CodeGenCXX/microsoft-abi-thread-safe-statics.cpp as REQUIRES:asserts. It relies on label names. llvm-svn: 236709
-
Ilia K authored
llvm-svn: 236708
-
Pavel Labath authored
Summary: These are remnants of the thread state coordinator, which are now unnecessary. I have basically inlined the callbacks. No functional change. Test Plan: Tests continue to pass. Reviewers: chaoren, vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9343 llvm-svn: 236707
-
David Majnemer authored
- Fix the formatting of the "Exceptions and SEH" section. - Make the "Complete" text for "Thread-safe initialization of local statics" green. llvm-svn: 236706
-
Ilia K authored
Summary: This changes add -target-attach and -target-detach. -target-attach allows lldb-mi to attach to an existing process by it's process id, matching gdb mi's syntax of '-target-attach <pid'. Additionally, support has been added for attaching to a process by name using '-target-attach -n <name>'. Combining this with --waitfor will allow lldb mi to attach to a process by name when the process starts. -target-detach simply detaches from the current process Patch from chuckr@microsoft.com Test Plan: I have added three tests, one each for -target-attach <pid>, -target-attach -n <name>, and -target-attach -n <name> --waitfor Reviewers: paulmaybee, abidh, ChuckR Subscribers: greggm, lldb-commits Differential Revision: http://reviews.llvm.org/D9484 llvm-svn: 236705
-
Ilia K authored
llvm-svn: 236704
-
Ilia K authored
Summary: This patch adds -s/--source option to execute source file with prepared command. For example: ``` $ cat start_script target create ~/p/hello process launch -s continue $ bin/lldb-mi -s start_script (gdb) target create ~/p/hello Current executable set to '~/p/hello' (x86_64). ^done (gdb) process launch -s =shlibs-added,shlib-info=[num="1",name="hello",dyld-addr="-",reason="dyld",path="/Users/IliaK/p/hello",loaded_addr="-",dsym-objpath="/Users/IliaK/p/hello.dSYM/Contents/Resources/DWARF/hello"] Process 33289 launched: '/Users/IliaK/p/hello' (x86_64) ^done (gdb) continue =thread-created,id="1",group-id="i1" =thread-selected,id="1" (gdb) Process 33289 resuming Process 33289 exited with status = 0 (0x00000000) ^done ``` Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/ Reviewers: abidh Reviewed By: abidh Subscribers: lldb-commits, abidh Differential Revision: http://reviews.llvm.org/D9278 llvm-svn: 236703
-
Ilia K authored
Summary: This patch removes quit hook and fixes 1 bug: # Fix "quit" hook in CMIDriver::DoMainLoop (MI) # Fix bug when the handler thread exits without any notification (MI) # Fix a race condition in CMICmnLLDBDebugger::MonitorSBListenerEvents (MI) Test Plan: ./dotest.py -v --executable $BUILDDIR/bin/lldb tools/lldb-mi/ Reviewers: abidh Reviewed By: abidh Subscribers: lldb-commits, abidh Differential Revision: http://reviews.llvm.org/D9275 llvm-svn: 236702
-
http://llvm.org/PR23392Alexey Bataev authored
Fix for codegen of static variables declared inside of captured statements. Captured statements are actually a transparent DeclContexts, so we have to skip them when trying to get a mangled name for statics. Differential Revision: http://reviews.llvm.org/D9522 llvm-svn: 236701
-
Ilia K authored
Summary: This patch fixes retvalue of ClangUserExpression::Evaluate in case of eExpressionParseError error Reviewers: jingham, spyffe, clayborg Reviewed By: clayborg Subscribers: lldb-commits, clayborg, spyffe, jingham Differential Revision: http://reviews.llvm.org/D9502 llvm-svn: 236700
-
Ilia K authored
Summary: This patch moves synchronization of iohandler to CommandObjectProcessLaunch::DoExecute like it was done in CommandObjectProcessContinue::DoExecute. Reviewers: jingham, clayborg Reviewed By: clayborg Subscribers: lldb-commits, clayborg, jingham Differential Revision: http://reviews.llvm.org/D9373 llvm-svn: 236699
-
David Majnemer authored
llvm-svn: 236698
-
David Majnemer authored
The MSVC 2015 ABI utilizes a rather straightforward adaptation of the algorithm found in the appendix of N2382. While we are here, implement support for emitting cleanups if an exception is thrown while we are intitializing a static local variable. llvm-svn: 236697
-
Mohit K. Bhakkad authored
Patch by Jaydeep Patil Reviewers: clayborg, jasonmolenda Subscribers: bhushan, mohit.bhakkad, sagar, lldb-commits. Differential Revision: http://reviews.llvm.org/D9519 llvm-svn: 236696
-
Mehdi Amini authored
Summary: One step further getting aggregate loads and store being optimized properly. This will only handle struct with one element at this point. Test Plan: Added unit tests for the new supported cases. Reviewers: chandlerc, joker-eph, joker.eph, majnemer Reviewed By: majnemer Subscribers: pete, llvm-commits Differential Revision: http://reviews.llvm.org/D8339 Patch by Amaury Sechet. From: Amaury Sechet <amaury@fb.com> llvm-svn: 236695
-
Bruce Mitchener authored
Summary: - The address argument can now be an expression (e.g. &array), it's no longer restricted to being just a number literal. - The -o (offset) option is now properly handled, not just silently ignored. - The --thread option is now properly handled. - A new --frame option has been added for consistency with GDB. - Added a new test to verify old and new functionality. Patch by Vadim Macagon. Thanks! Test Plan: ./dotest.py -A x86_64 -C clang --executable $BUILDDIR/bin/lldb tools/lldb-mi/data Reviewers: domipheus, abidh, ki.stfu Reviewed By: abidh, ki.stfu Subscribers: brucem, lldb-commits Differential Revision: http://reviews.llvm.org/D9470 llvm-svn: 236694
-
Alexey Bataev authored
Inner bodies of OpenMP worksharing loop-based constructs with dynamic or guided scheduling are allowed to be marked with !llvm.mem.parallel_loop_access metadata for better optimization. Worksharing constructs with static scheduling cannot be marked this way (according to OpenMP standard "A data dependence between the same logical iterations in two such loops is guaranteed"). Constructs with auto and runtime scheduling are also not marked because automatically chosen scheduling may be static also. Differential Revision: http://reviews.llvm.org/D9518 llvm-svn: 236693
-
Alexey Bataev authored
llvm-svn: 236692
-
Kostya Serebryany authored
llvm-svn: 236691
-
Richard Smith authored
[modules] Suport for merging a parsed enum definition into an existing imported but not visible definition. llvm-svn: 236690
-
Alexey Bataev authored
Fixed codegen for reduction operations min, max, && and ||. Codegen for them is quite similar and I was confused by this similarity. Also added a call to kmpc_end_reduce() in atomic part of reduction codegen (call to kmpc_end_reduce_nowait() is not required). Differential Revision: http://reviews.llvm.org/D9513 llvm-svn: 236689
-
Chaoren Lin authored
Summary: Update to D9510. Reviewers: chying, tberghammer, ovyalov Reviewed By: ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9542 llvm-svn: 236688
-
Alexey Samsonov authored
Summary: This gives frontend more precise control over collected coverage information. User can still override these options by passing -mllvm flags. No functionality change. Test Plan: regression test suite. Reviewers: kcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9539 llvm-svn: 236687
-
Justin Bogner authored
MSAN pointed out that this value is used uninitialized: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/3678 llvm-svn: 236686 -
Justin Bogner authored
llvm-svn: 236685
-
Philip Reames authored
If we have recognized that a conditional is constant at a particular location in the code (while trying to decide if we can simplify a conditional branch), we can eagerly replace that condition with a constant if it's definition is post dominated by the branch in question. In practice, this ends up being a compile time savings at most. JumpThreading would have visited each using branch anyways. CVP would have visited the cmp itself again. Unless LVI gives up early, we shouldn't gain any addition power by doing this transformation early. What we do gain is simplicity and compile time. Differential Revision: http://reviews.llvm.org/D9312 llvm-svn: 236684
-
Kostya Serebryany authored
llvm-svn: 236683
-
Kaelyn Takata authored
declaration, ensure the loop variable is properly marked as invalid when it is an "auto" variable. llvm-svn: 236682
-
Greg Clayton authored
The ClangASTContext::getTargetInfo() will return NULL in this case and could cause us to crash if we don't check. <rdar://problem/20543554> llvm-svn: 236681
-
Vince Harron authored
Created an abstraction for log2, llvm::Log2 in Support/MathExtras.h Hid Android problems inside of it Differential Revision: http://reviews.llvm.org/D9467 llvm-svn: 236680
-
Kostya Serebryany authored
Summary: Add a weak hook to be called from dfsan's custom memcmp. The primary user will be lib/Fuzzer. If this works well we'll add more hooks (strcmp, etc). Test Plan: Will be covered by lib/Fuzzer tests. Reviewers: pcc Reviewed By: pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9541 llvm-svn: 236679
-
David Blaikie authored
Causes regressions in Clang. Reverting while I investigate. This reverts commit r236670. llvm-svn: 236678
-