- Sep 13, 2011
-
-
Craig Topper authored
Remove filter that was preventing MOVDQU/MOVDQA and their VEX forms from being disassembled. Also added encodings for the other register/register form of these instructions. Fixes PR10848. llvm-svn: 139588
-
Craig Topper authored
Fix encoding of VMOVDQU to not simultaneously be 'TB OpSize' and 'XS'. 'XS' is correct and seems to have been taking priority. llvm-svn: 139587
-
Chandler Carruth authored
temporary objects and local variables. When detected, these split the block, marking the new one as having only the exit block as a successor. This prevents a large number of false positives in warnings sensitive to no-return constructs such as -Wreturn-type, and fixes the remainder of PR10063 along with several variations of this bug that had not been reported. The test cases are extended across the board to cover these patterns. This also checks in a stress test for these types of CFGs. The stress test declares some 32k variables, a mixture of no-return and normal destructors. Previously, this resulted in roughly 2500 CFG blocks, but didn't model any of the no-return destructors. With this patch, it results in over 33k blocks, many of them now unreachable. The nice thing about how the analyzer is set up? This causes *no* regression in performance of building the CFG. It actually in some cases makes it faster, as best I can benchmark. The analysis for -Wreturn-type (and any other that cares about no-return code paths) is technically slower now as it has to look at many more candidate blocks, but it computes the correct answer. I have more test cases to follow, I think they all work now. Also I have further work that should dramatically simplify analyses in the presence of no-return. llvm-svn: 139586
-
John McCall authored
llvm-svn: 139585
-
John McCall authored
atomic. This is probably something we should warn about. llvm-svn: 139584
-
Andrew Trick authored
llvm-svn: 139583
-
Greg Clayton authored
llvm-svn: 139582
-
NAKAMURA Takumi authored
llvm-svn: 139581
-
John McCall authored
single code path. Use atomic loads and stores where necessary. Load and store anything of the appropriate size and alignment with primitive operations instead of going through the call. llvm-svn: 139580
-
Andrew Trick authored
llvm-svn: 139579
-
Andrew Trick authored
llvm-svn: 139578
-
Andrew Trick authored
llvm-svn: 139577
-
Andrew Trick authored
llvm-svn: 139576
-
Eli Friedman authored
llvm-svn: 139575
-
Andrew Trick authored
llvm-svn: 139574
-
Benjamin Kramer authored
llvm-svn: 139573
-
Jakob Stoklund Olesen authored
SplitKit will soon need two copies of these data structures, and the algorithms will also be useful when LiveIntervalAnalysis becomes independent of LiveVariables. llvm-svn: 139572
-
Eli Friedman authored
llvm-svn: 139571
-
Douglas Gregor authored
already provided. This required a little bit of clean-up in the way that VerifyDiagnosticsClient managed ownership of its underlying "primary" client, because now it will no longer always take ownership. llvm-svn: 139570
-
Johnny Chen authored
llvm-svn: 139569
-
Johnny Chen authored
llvm-svn: 139568
-
Jason Molenda authored
valid threads - can happen if attaching to a process fails in a certain way. llvm-svn: 139567
-
Jason Molenda authored
(running under any uid) if lldb is being run as root. It might be better to handle this up at the ProcessInstanceInfoMatch class with its m_match_all_users ivar instead of down here... llvm-svn: 139566
-
Eli Friedman authored
llvm-svn: 139565
-
Jim Ingham authored
SBSourceManager now gets the real source manager either from the Debugger or Target. Also, move the SourceManager file cache into the debugger so it can be shared amongst the targets. llvm-svn: 139564
-
Eli Friedman authored
Fix the assembler strings for a couple of atomic instructions. Doesn't really matter much in practice, but it's a bit cleaner. llvm-svn: 139563
-
Johnny Chen authored
from CommandObjectFrame::Execute(). llvm-svn: 139561
-
Johnny Chen authored
o Rename from OptionGroupWatchpoint::WatchMode to OptionGroupWatchpoint::WatchType, and CommandArgumentType::eArgTypeWatchMode to CommandArgumentType::eArgTypeWatchType. Update the sources to reflect the change. o Add a CreateWatchpointLocation() method to Target class, which is currently not implmeneted (returns an empty WatchpointLocationSP object). Add logic to CommandObjectFrame::Execute() to exercise the added API for creating a watchpoint location. llvm-svn: 139560
-
Jim Grosbach authored
llvm-svn: 139559
-
Douglas Gregor authored
but there is a corresponding umbrella header in a framework, build the module on-the-fly so it can be immediately loaded at the import statement. This is very much proof-of-concept code, with details to be fleshed out over time. llvm-svn: 139558
-
Greg Clayton authored
Address ranges are now split up into two different tables: - one in DWARFDebugInfo that is compile unit specific - one in each DWARFCompileUnit that has exact function DIE offsets This helps keep the size of the aranges down since the main table will get uniqued and sorted and have consecutive ranges merged. We then only parse the compile unit one on demand once we have determined that a compile unit contains the address in question. We also now use the .debug_aranges section if there is one instead of always indexing the DWARF manually. NameToDIE now uses a UniqueCStringMap<dw_offset> map instead of a std::map. std::map is very bulky as each node has 3 pointers and the key and value types. This gets our NameToDIE entry down to 12 bytes each instead of 48 which saves us a lot of memory when we have very large DWARF. DWARFDebugAranges now has a smaller footprint for each range it contains to save on memory. llvm-svn: 139557
-
Andrew Trick authored
which is only relevant with canonical IVs llvm-svn: 139556
-
John McCall authored
modernization. No functionality change. llvm-svn: 139555
-
Bruno Cardoso Lopes authored
llvm-svn: 139554
-
Bruno Cardoso Lopes authored
destination types are equal! llvm-svn: 139553
-
Andrew Trick authored
Otherwise this case is now covered by no-iv-rewrite.ll. llvm-svn: 139552
-
Chad Rosier authored
behavior. rdar://10110352 and PR10908 llvm-svn: 139551
-
Anna Zaks authored
llvm-svn: 139550
-
Owen Anderson authored
Fix a failing ELF Thumb test. I _think_ this is right, but it's not totally clear to me what this test is doing. Could someone on an ELF platform check? llvm-svn: 139549
-
Caitlin Sadowski authored
llvm-svn: 139548
-