- Jun 01, 2012
-
-
Nick Kledzik authored
now Reader and Writer subclasses for each file format. Each Reader and Writer subclass defines an "options" class which controls how that Reader or Writer operates. llvm-svn: 157774
-
Benjamin Kramer authored
This way the constructors do all the hard work. No intended functionality change. llvm-svn: 157773
-
- May 31, 2012
-
-
Tom Care authored
llvm-svn: 157772
-
-
Greg Clayton authored
llvm-svn: 157770
-
Jim Ingham authored
rdar://problem/11562050 llvm-svn: 157767
-
Jim Ingham authored
should override the thread's thread plan's run state. llvm-svn: 157766
-
Howard Hinnant authored
llvm-svn: 157765
-
Howard Hinnant authored
llvm-svn: 157764
-
Aaron Ballman authored
llvm-svn: 157763
-
Anna Zaks authored
We should lock the number of elements after the initial parsing is complete. Recursive AST visitors in AnalyzesConsumer and CallGarph can trigger lazy pch deserialization resulting in more calls to HandleTopLevelDecl and appending to the LocalTUDecls list. We should ignore those. llvm-svn: 157762
-
Owen Anderson authored
llvm-svn: 157761
-
Dmitry Vyukov authored
llvm-svn: 157760
-
Alexander Kornienko authored
llvm-svn: 157759
-
Sean Callanan authored
(which regularly conflicts with existing symbols in Objective-C). llvm-svn: 157758
-
Jakob Stoklund Olesen authored
Patch by Yiannis Tsiouris! llvm-svn: 157757
-
Jakob Stoklund Olesen authored
llvm-svn: 157756
-
Manman Ren authored
This patch will optimize the following movq %rdi, %rax subq %rsi, %rax cmovsq %rsi, %rdi movq %rdi, %rax to cmpq %rsi, %rdi cmovsq %rsi, %rdi movq %rdi, %rax Perform this optimization if the actual result of SUB is not used. rdar: 11540023 llvm-svn: 157755
-
Jakob Stoklund Olesen authored
Reg-units are named after their root registers, and most units have a single root, so they simply print as 'AL', 'XMM0', etc. The rare dual root reg-units print as FPSCR~FPSCR_NZCV, FP0~ST7, ... The printing piggybacks on the existing register name tables, so no extra const data space is required. llvm-svn: 157754
-
Jakob Stoklund Olesen authored
Each register unit has one or two root registers. The full set of registers containing a given register unit can be computed as the union of the root registers and their super-registers. Provide an MCRegUnitRootIterator class to enumerate the roots. llvm-svn: 157753
-
Joel Jones authored
llvm-svn: 157752
-
rdar://problem/11486302Greg Clayton authored
Fixed a case where multiple threads can be asking to send a packet to the GDB server and one of three things will happen: 1 - everything works 2 - one thread will fail to send the packet due to not being able to get the sequence mutex 3 - one thread will try and interrupt the other packet sending and fail and not send the packet Now the flow is a bit different. Prior to this fix we did: if (try_get_sequence_mutex()) { send_packet() return success; } else { if (async_ok) { interrupt() send_packet() resume() return success; } } return fail The issue is that the call to "try_get_sequence_mutex()" could fail if another thread was sending a packet and could cause us to just not send the packet and an error would be returned. What we really want is to try and get the sequence mutex, and if this succeeds, send the packet. Else check if we are running and if we are, do what we used to do. The big difference is when we aren't running, we wait for the sequence mutex so we don't drop packets. Pseudo code is: if (try_get_sequence_mutex()) { // Safe to send the packet right away send_packet() return success; } else { if (running) { // We are running, interrupt and send async packet if ok to do so, // else it is ok to fail if (async_ok) { interrupt() send_packet() resume() return success; } } else { // Not running, wait for the sequence mutex so we don't drop packets get_sequence_mutex() send_packet() return success; } } return fail llvm-svn: 157751
-
Kostya Serebryany authored
llvm-svn: 157750
-
Rafael Espindola authored
Also make the checks stronger and test that we reject ranges that overlap a previous wrapped range. llvm-svn: 157749
-
Kostya Serebryany authored
llvm-svn: 157748
-
Kostya Serebryany authored
llvm-svn: 157747
-
Kostya Serebryany authored
llvm-svn: 157746
-
Benjamin Kramer authored
It was renamed in gcc/gas a while ago and causes all kinds of confusion because it was named differently in llvm and clang. llvm-svn: 157745
-
Dmitry Vyukov authored
llvm-svn: 157744
-
Kostya Serebryany authored
[asan,tsan] introduce sanitizer_common/sanitizer_defs.h and perform some renaming in asan rt. More to come. llvm-svn: 157743
-
Alexander Potapenko authored
It turns out that atos does not print the symbol names for static C++ functions correctly (one of the two leading underscores is omitted), so they remain mangled. llvm-svn: 157742
-
Rafael Espindola authored
be non contiguous, non overlapping and sorted by the lower end. While this is technically a backward incompatibility, every frontent currently produces range metadata with a single interval and we don't have any pass that merges intervals yet, so no existing bitcode files should be rejected by this. llvm-svn: 157741
-
Kostya Serebryany authored
llvm-svn: 157740
-
Dmitry Vyukov authored
llvm-svn: 157739
-
Elena Demikhovsky authored
I disabled FMA3 autodetection, since the result may differ from expected for some benchmarks. I added tests for GodeGen and intrinsics. I did not change llvm.fma.f32/64 - it may be done later. llvm-svn: 157737
-
Duncan Sands authored
Carlo Alberto Ferraris. llvm-svn: 157736
-
Filipe Cabecinhas authored
llvm-svn: 157735
-
Ted Kremenek authored
improved the pruning heuristics. The current heuristics are pretty good, but they make diagnostics for uninitialized variables warnings particularly useless in some cases. llvm-svn: 157734
-
Craig Topper authored
llvm-svn: 157733
-
Craig Topper authored
llvm-svn: 157731
-