- Aug 18, 2011
-
-
Eli Friedman authored
llvm-svn: 137888
-
Ted Kremenek authored
[libclang] Workaround potential race condition with code completion AllocatedResults being freed after a CXTranslationUnit. The Container USR's CXString had its underlying data owned by the CXTranslationUnit's string pool. This would result in trying to access freed memory. llvm-svn: 137887
-
Enrico Granata authored
- all instances of "vobj" have been renamed to "valobj" - class Debugger::Formatting has been renamed to DataVisualization (defined in FormatManager.h/cpp) The interface to this class has not changed - FormatCategory now uses ConstString's as keys to the navigators instead of repeatedly casting from ConstString to const char* and back all the time Next step is making the same happen for categories themselves - category gnu-libstdc++ is defined in the constructor for a FormatManager The source code for it is defined in gnu_libstdcpp.py, drawn from examples/synthetic at compile time All references to previous 'osxcpp' name have been removed from both code and file names Functional changes: - the name of the option to use a summary string for 'type summary add' has changed from the previous --format-string to the new --summary-string. It is expected that the short option will change from -f to -s, and -s for --python-script will become -o llvm-svn: 137886
-
Bruno Cardoso Lopes authored
shift amount is variable llvm-svn: 137885
-
John McCall authored
block returns; no functionality change. llvm-svn: 137884
-
John McCall authored
llvm-svn: 137882
-
- Aug 17, 2011
-
-
Jim Grosbach authored
llvm-svn: 137881
-
Bill Wendling authored
The landingpad instruction is lowered into the EXCEPTIONADDR and EHSELECTION SDNodes. The information from the landingpad instruction is harvested by the 'AddLandingPadInfo' function. The new EH uses the current EH scheme in the back-end. This will change once we switch over to the new scheme. (Reviewed by Jakob!) llvm-svn: 137880
-
Jim Grosbach authored
Represent the operand value as it will be encoded in the instruction. This allows removing the specialized encoder and decoder methods entirely. Add an assembler match class while we're at it to lay groundwork for parsing the thumb shift instructions. llvm-svn: 137879
-
Argyrios Kyrtzidis authored
Caught by the static analyzer! llvm-svn: 137878
-
John McCall authored
Thanks to Ted for finding this with magic tools. llvm-svn: 137877
-
Bill Wendling authored
PRE needs the landing pads to have their critical edges split. Doing this for a landing pad is non-trivial. Abandon the attempt to perform PRE when we come across a landing pad. (Reviewed by Owen!) llvm-svn: 137876
-
Bill Wendling authored
llvm-svn: 137875
-
Jordy Rose authored
[analyzer] Migrate assumption and binding handling from CFRefCount to RetainReleaseChecker. This is mostly a textual move and required no supporting changes. No functionality change intended. llvm-svn: 137874
-
Bill Wendling authored
This generates the SDNodes for the new exception handling scheme. It takes the two values coming from the landingpad instruction and assigns them to the EXCEPTIONADDR and EHSELECTION nodes. llvm-svn: 137873
-
Bill Wendling authored
llvm-svn: 137872
-
Bill Wendling authored
One way to exit the loop is through an unwind edge. However, that may involve splitting the critical edge of the landing pad, which is non-trivial. Prevent the transformation from rewriting the landing pad exit loop block. llvm-svn: 137871
-
Ted Kremenek authored
llvm-svn: 137870
-
Douglas Gregor authored
all AST files have a normal METADATA record that has the same form regardless of whether we refer to a chained PCH or any other kind of AST file. Introduce the IMPORTS record, which describes all of the AST files that are imported by this AST file, and how (as a module, a PCH file, etc.). Currently, we emit at most one entry to this record, to support chained PCH. llvm-svn: 137869
-
Ted Kremenek authored
Fix a handful of dead stores found by Clang's static analyzer. There's a bunch of others I haven't touched. llvm-svn: 137867
-
Bill Wendling authored
so requires more care than this generic algorithm should handle. llvm-svn: 137866
-
Jim Grosbach authored
llvm-svn: 137865
-
Jim Grosbach authored
llvm-svn: 137864
-
Bill Wendling authored
instruction should be marked as potentially reading and/or writing memory. llvm-svn: 137863
-
Howard Hinnant authored
llvm-svn: 137862
-
Jim Grosbach authored
llvm-svn: 137861
-
Anna Zaks authored
llvm-svn: 137859
-
Argyrios Kyrtzidis authored
Plus, isSynthesized returning true does not mean that there is not a user-declared method declaration. llvm-svn: 137858
-
Jim Grosbach authored
llvm-svn: 137857
-
Jim Grosbach authored
llvm-svn: 137856
-
Bill Wendling authored
Things are much saner now. We no longer need to modify the laning pads, because of the invariants we impose upon them. The only thing DwarfEHPrepare needs to do is convert the 'resume' instruction into a call to '_Unwind_Resume'. llvm-svn: 137855
-
Bill Wendling authored
llvm-svn: 137854
-
Eli Friedman authored
Revert r137781; I agree with Duncan's comment that the situation in question is clearly impossible given the current structure of the code. llvm-svn: 137853
-
Argyrios Kyrtzidis authored
This results in libclang ignoring such methods. llvm-svn: 137852
-
Douglas Gregor authored
messages. Fi from David Blaikie, tests from Nikola Smiljanic! llvm-svn: 137851
-
Enrico Granata authored
New category "gnu-libstdc++" provides summary for std::string and synthetic children for types std::map, std::list and std::vector The category is enabled by default. If you run into issues with it, disable it and the previous behavior of LLDB is restored ** This is a temporary solution. The general solution to having formatters pulled in at startup should involve going through the Platform. Fixed an issue in type synthetic list where a category with synthetic providers in it was not shown if all the providers were regex-based llvm-svn: 137850
-
Chad Rosier authored
llvm-svn: 137849
-
Akira Hatanaka authored
llvm-svn: 137848
-
Devang Patel authored
llvm-svn: 137847
-
Devang Patel authored
llvm-svn: 137846
-