summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Debugger
Commit message (Collapse)AuthorAgeFilesLines
* remove llvm-db: it is completely broken and if anyone wants to do a debugger,Chris Lattner2009-10-0511-1037/+0
| | | | | | they should not base it on llvm-db (which not following almost any "best practices"). llvm-svn: 83288
* Prune #includes from llvm/Linker.h and llvm/System/Path.h,Chris Lattner2009-08-231-1/+2
| | | | | | | | | | | | | | | | | | forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
* remove some uses of llvm/Support/Streams.hChris Lattner2009-08-232-5/+3
| | | | llvm-svn: 79842
* Privatize the StructType table, which unfortunately involves routing ↵Owen Anderson2009-08-051-2/+3
| | | | | | contexts through a number of APIs. llvm-svn: 78258
* Make the use of const with respect to LLVMContext sane. Hopefully this is ↵Owen Anderson2009-07-011-2/+2
| | | | | | | | the last time, for the moment, that I will need to make far-reaching changes. llvm-svn: 74655
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-011-2/+3
| | | | llvm-svn: 74640
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-011-8/+8
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-011-4/+2
| | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
* Oops...I committed too much.Bill Wendling2009-03-131-6/+6
| | | | llvm-svn: 66867
* Temporarily XFAIL this test.Bill Wendling2009-03-131-6/+6
| | | | llvm-svn: 66866
* Test commitSebastian Redl2009-03-081-1/+0
| | | | llvm-svn: 66378
* Removed trailing whitespace from Makefiles.Misha Brukman2009-01-091-2/+2
| | | | llvm-svn: 61991
* Tidy up #includes, deleting a bunch of unnecessary #includes.Dan Gohman2009-01-051-0/+1
| | | | llvm-svn: 61715
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+10
| | | | llvm-svn: 56419
* Add #includeChris Lattner2008-08-231-0/+1
| | | | llvm-svn: 55258
* - Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an ↵Evan Cheng2008-06-301-3/+7
| | | | | | | | empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891
* Revert (52748 and friends):Anton Korobeynikov2008-06-291-7/+3
| | | | | | | | | | | | Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. This unbreaks llvm-gcc bootstrap. llvm-svn: 52884
* Move GetConstantStringInfo to lib/Analysis. RemoveEric Christopher2008-06-261-3/+7
| | | | | | | | | string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings. llvm-svn: 52748
* Make these variables static.Dan Gohman2008-04-231-1/+1
| | | | llvm-svn: 50196
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-011-1/+1
| | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041
* rewrite SourceFile to be in terms of MemoryBuffer, not MappedFile.Chris Lattner2008-04-011-13/+19
| | | | llvm-svn: 49027
* Remove the MappedFile::charBase member, rename base -> getBase() andChris Lattner2008-04-011-4/+4
| | | | | | make getBase() return a const-correct pointer. llvm-svn: 49025
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-298-16/+16
| | | | llvm-svn: 45418
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* switch this to bitcode instead of bytecodeChris Lattner2007-05-061-12/+5
| | | | llvm-svn: 36867
* teach this to read from bitcode filesChris Lattner2007-05-061-1/+13
| | | | llvm-svn: 36843
* Make sure temporary data is not used past its life span.Reid Spencer2007-04-081-2/+2
| | | | llvm-svn: 35773
* For PR1291:Reid Spencer2007-04-071-1/+1
| | | | | | | Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
* For PR789:Reid Spencer2007-03-291-3/+4
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling2006-12-071-0/+1
| | | | llvm-svn: 32340
* Removed more <iostream> includesBill Wendling2006-12-072-7/+5
| | | | llvm-svn: 32321
* For PR786:Reid Spencer2006-11-021-1/+1
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* For PR950:Reid Spencer2006-10-201-4/+4
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* For PR797:Reid Spencer2006-08-251-9/+1
| | | | | | | Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. llvm-svn: 29875
* Fix another occurrence of inverted logic on the result of MappedFile::mapReid Spencer2006-08-221-1/+1
| | | | llvm-svn: 29828
* For PR797:Reid Spencer2006-08-221-1/+3
| | | | | | | | | | Adjust users of MappedFile to its new non-throwing interface. Note that in most cases the lazy step of just throwing after a call to MappedFile was installed. This was done in the name of incremental changes. Getting rid of the new throw statements will take adjustment of interfaces and propagation of errors to higher levels. Those changes will come in subsequent patches. llvm-svn: 29817
* Change Path::getStatusInfo to return a boolean and error string on an errorChris Lattner2006-07-281-2/+3
| | | | | | | | instead of throwing an exception. This reduces the amount of code that is exposed to exceptions (e.g. FileUtilities), though it is clearly only one step along the way. llvm-svn: 29395
* Build more debugger/selectiondag libraries as archives instead of .o files.Chris Lattner2006-07-211-0/+1
| | | | | | | | This works around bugs in some versions of the cygwin linker. Patch contributed by Anton Korobeynikov. llvm-svn: 29239
* This uses EH infoChris Lattner2006-07-071-0/+1
| | | | llvm-svn: 29044
* Modify the SlowOperationInformer interface to not throw exceptions.Chris Lattner2006-07-061-2/+4
| | | | llvm-svn: 29028
* Add the README files to the distribution.Reid Spencer2006-04-131-0/+1
| | | | llvm-svn: 27651
* Handle new forms of llvm.dbg intrinsics.Jim Laskey2006-03-231-8/+6
| | | | llvm-svn: 26988
* Handle the removal of the debug chain.Jim Laskey2006-03-131-3/+3
| | | | llvm-svn: 26729
* remove some dead codeChris Lattner2006-03-102-95/+0
| | | | llvm-svn: 26703
* Remove UnixLocalInferiorProcess: debugging via the JIT isn't a good idea.Chris Lattner2006-03-102-937/+6
| | | | | | Perhaps llvm-db will turn into a read debugger someday. llvm-svn: 26700
* Get rid of the multiple copies of getStringValue. Now a Constant:: method.Jim Laskey2006-03-081-42/+3
| | | | llvm-svn: 26616
* dum de dumDuraid Madina2005-12-261-0/+1
| | | | llvm-svn: 25018
* tell selectiondag when we're debuggingChris Lattner2005-11-161-0/+1
| | | | llvm-svn: 24376
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-1/+2
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* For PR495:Reid Spencer2005-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
OpenPOWER on IntegriCloud