- Jan 20, 2012
-
-
Ted Kremenek authored
Implement checker that looks for calls to mktemps and friends that have fewer than 6 Xs. Implements <rdar://problem/6336672>. llvm-svn: 148531
-
Rafael Espindola authored
Release+Asserts build with -DBUILD_SHARED_LIBS=ON, the install directory goes from 72MB to 70MB. llvm-svn: 148530
-
Greg Clayton authored
of the identifier name in the binary images section. Improved the regular expression for the frames. Added a new file "crashlog.lldb" which can be sourced with "command source" that will import the module and set itself up to be used as a command. llvm-svn: 148529
-
Greg Clayton authored
module (you can't import a module with a '-' in it) and also added a Symbolcate(...) top level function so it can be imported and used as an LLDB command. Then you can import the module and map a "crashlog" command (for darwin use only currently) to the python function "crashlog.Symbolicate": (lldb) script import crashlog (lldb) command script add -f crashlog.Symbolicate crashlog Then use it to symbolicate: (lldb) crashlog --crash-log /path/to/foo.crash The crash log will then get symbolicated and inline frames will be added to the crash log and the frames will be displayed. The crash log currently will only try and fetch and setup the target images requires in order to do the symbolication. This will need to be iterated upon, but it is getting close to being useful so I am going to check this in. llvm-svn: 148528
-
Greg Clayton authored
llvm-svn: 148527
-
Eli Friedman authored
Remove a low-quality test which was failing on Windows; test/CodeGen/X86/sret.ll is a better test for the relevant behavior. llvm-svn: 148526
-
Ted Kremenek authored
multiple checks are exposed as separate checkers, but CheckerManager only creates one Checker object. llvm-svn: 148525
-
-
Greg Clayton authored
to find data on the heap. To use this, make the project and then when stopped in your lldb debug session: (lldb) process load /path/to/libheap.dylib (lldb) find_pointer_in_heap (0x112233000000) This will grep everything in all active allocation blocks and print and malloc blocks that contain the pointer 0x112233000000. This can also work for c strings: (lldb) find_cstring_in_heap ("hello") llvm-svn: 148523
-
Eli Friedman authored
Remove PotentiallyPotentiallyEvaluated, and replace it with a much simpler and less error-prone way of handling the relevant cases. Towards marking of whether a declaration is used more accurately. llvm-svn: 148522
-
Johnny Chen authored
Add comment describing the interaction of WantsRawCommandString()/WantsCompletion() with the completion mechanism. llvm-svn: 148521
-
Bill Wendling authored
'insertvalue' instructions that recreate the structure returned by the 'landingpad' instruction. Because the 'insertvalue' instruction isn't supported by FastISel, this can save a bit of time during -O0 compilation. llvm-svn: 148520
-
Anna Zaks authored
llvm-svn: 148518
-
Anna Zaks authored
printing. llvm-svn: 148517
-
Anna Zaks authored
at the given location. This could be useful when checkers' logic depends on whether a function is called with a given macro argument. llvm-svn: 148516
-
Anna Zaks authored
This solves a the issue of crashing gdb when dumping a symbol; + consistent vitualization. llvm-svn: 148515
-
Anna Zaks authored
llvm-svn: 148514
-
Eli Friedman authored
llvm-svn: 148513
-
Sean Callanan authored
We should ultimately introduce GetAs...Type functions in all cases where we have Is...Type functions that know how to look inside typedefs. llvm-svn: 148512
-
Howard Hinnant authored
Enable full functionality of shared_ptr<const void> by adding allocator<const void>. Credit to John Hurley for discovering this bug. llvm-svn: 148508
-
Sean Callanan authored
a memory leak. llvm-svn: 148507
-
- Jan 19, 2012
-
-
Richard Smith authored
template definitions. llvm-svn: 148506
-
Richard Smith authored
constexpr. llvm-svn: 148505
-
Johnny Chen authored
http://llvm.org/viewvc/llvm-project?rev=148491&view=rev check in broke the argument completion for "settings set th", followed by TAB. Provide a way for commands who want raw commands to hook into the completion mechanism. llvm-svn: 148500
-
Richard Trieu authored
!=, %=, ^=, &=, *=, -=, |=, /=, <<=, <=, >=, and >>= to =. llvm-svn: 148499
-
Chad Rosier authored
llvm-svn: 148497
-
Benjamin Kramer authored
llvm-svn: 148496
-
Benjamin Kramer authored
llvm-svn: 148495
-
Jim Ingham authored
<rdar://problem/10719481> llvm-svn: 148494
-
Owen Anderson authored
llvm-svn: 148493
-
Owen Anderson authored
Add a new form of MCOperand, for representing sub-instructions. This is intended for supporting bundles through the MC layer, rather than lowering them pre-MC as we currently do for Thumb2 IT blocks. Since these sub-instruction operands hold pointers to the sub-instructions, it is the responsibility of the target's AsmPrinter to provide storage for them for the duration of the EmitInstruction() call. llvm-svn: 148492
-
Johnny Chen authored
Fixed an issue where backtick char is not properly honored when setting the frame-format variable, like the following: (lldb) settings set frame-format frame #${frame.index}: ${frame.pc}{ ${module.file.basename}{`${function.name-with-args}${function.pc-offset}}}{ at ${line.file.basename}:${line.number}}\n (lldb) settings show frame-format frame-format (string) = "frame #${frame.index}: ${frame.pc}{ `${module.file.basename}{${function.name-with-args}${function.pc-offset}}}{` at ${line.file.basename}:${line.number}}\n" (lldb) o CommandObjectSettings.h/.cpp: Modify the command object impl to require raw command string instead of parsed command string, which also fixes an outstanding issue that customizing the prompt with trailing spaces doesn't work. o Args.cpp: During CommandInterpreter::HandleCommand(), there is a PreprocessCommand phase which already strips/processes pairs of backticks as an expression eval step. There's no need to treat a backtick as starting a quote. o TestAbbreviations.py and change_prompt.lldb: Fixed incorrect test case/logic. o TestSettings.py: Remove expectedFailure decorator. llvm-svn: 148491
-
Dan Gohman authored
rdar://10531041. llvm-svn: 148490
-
Devang Patel authored
llvm-svn: 148489
-
Sean Callanan authored
originally imported from symbols for the expression parser didn't get their superclasses set properly. llvm-svn: 148488
-
Nick Lewycky authored
llvm-svn: 148487
-
Devang Patel authored
llvm-svn: 148486
-
Devang Patel authored
llvm-svn: 148485
-
Argyrios Kyrtzidis authored
that the given source range encompasses. llvm-svn: 148481
-
Argyrios Kyrtzidis authored
and returns a character range with file locations. llvm-svn: 148480
-