- Mar 14, 2013
-
-
Michael J. Spencer authored
Clients of MemoryBuffer::getOpenFile expect it not to take ownership of the file descriptor passed in. So don't. llvm-svn: 176995
-
- Mar 13, 2013
-
-
Nick Lewycky authored
emitProfileNotes(), similar to emitProfileArcs(). Also update its comment. Also add a comment on Version[4] (there will be another comment in clang later), and compress lines that exceeded 80 columns. llvm-svn: 176994
-
David Blaikie authored
llvm-svn: 176993
-
rdar://problem/13415471Han Ming Ong authored
Don't get dirty page size if we are not going to send it back llvm-svn: 176992
-
Bill Wendling authored
llvm-svn: 176991
-
David Blaikie authored
(extra cleanup/fallout from r176983 - not sure why I didn't catch this locally) llvm-svn: 176988
-
Bill Wendling authored
llvm-svn: 176987
-
Bill Wendling authored
This doesn't reset all of the target options within the TargetOptions object. This is because some of those are ABI-specific and must be determined if it's okay to change those on the fly. llvm-svn: 176986
-
Bill Wendling authored
The back-end cannot differentiate between functions that are from a .ll file and those generated from the front-end. We cannot then take the non-precense of these attributes as a "false" value. Have the front-end explicitly set the value to 'true' or 'false' depending upon what is actually set. llvm-svn: 176985
-
David Blaikie authored
llvm-svn: 176984
-
David Blaikie authored
llvm-svn: 176983
-
Daniel Malea authored
llvm-svn: 176980
-
Daniel Malea authored
llvm-svn: 176978
-
Lang Hames authored
codegen passes. This brings it in to line with clang and llc's codegen setup, and tidies up the code. If I understand correctly, adding ModulePasses to a FunctionPassManager is bogus. It only seems to explode if an added ModulePass depends on a FunctionPass though, which might be why this code has survived so long. Fixes <rdar://problem/13386816>. llvm-svn: 176977
-
Argyrios Kyrtzidis authored
In a module-enabled Cocoa PCH file, we spend a lot of time stat'ing the headers in order to associate the FileEntries with their modules and support implicit module import. Use a more lazy scheme by enhancing HeaderInfoTable to store extra info about the module that a header belongs to, and associate it with its module only when there is a request for loading the header info for a particular file. Part of rdar://13391765 llvm-svn: 176976
-
Argyrios Kyrtzidis authored
This allows resolving top-header filenames of modules to FileEntries when we need them, not eagerly. Note that that this breaks ABI for libclang functions clang_Module_getTopLevelHeader / clang_Module_getNumTopLevelHeaders but this is fine because they are experimental and not widely used yet. llvm-svn: 176975
-
Daniel Malea authored
llvm-svn: 176974
-
Alexey Samsonov authored
Summary: No functionality change. Reviewers: Bigcheese Reviewed By: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D535 llvm-svn: 176973
-
Daniel Malea authored
- fix TestCPPBool (was failing with some versions of GCC due to num_breakpoint_locations) - speed up tests by skipping git/svn revision parsing by the test harness when running in lit-compatible (parsable) mode This should resolve the failures reported by http://lab.llvm.org:8011/builders/lldb-x86_64-linux llvm-svn: 176972
-
Reed Kotler authored
in the LLVM assembly language output. llvm-svn: 176971
-
Shankar Easwaran authored
llvm-svn: 176970
-
Anna Zaks authored
When BugReporter tracks C++ references involved in a null pointer violation, we want to differentiate between a null reference and a reference to a null pointer. In the first case, we want to track the region for the reference location; in the second, we want to track the null pointer. In addition, the core creates CXXTempObjectRegion to represent the location of the C++ reference, so teach FindLastStoreBRVisitor about it. This helps null pointer suppression to kick in. (Patch by Anna and Jordan.) llvm-svn: 176969
-
Reed Kotler authored
up putback to clang for mips16. llvm-svn: 176968
-
Vincent Lejeune authored
llvm-svn: 176967
-
Ted Kremenek authored
llvm-svn: 176966
-
Ted Kremenek authored
Fixes <rdar://problem/12322528> llvm-svn: 176965
-
David Blaikie authored
llvm-svn: 176964
-
Manman Ren authored
llvm-svn: 176963
-
Manman Ren authored
llvm-svn: 176962
-
rdar://problem/13404189Greg Clayton authored
Made the "--reverse" option to "source list" also be able to use the "--count". This helps us implement support for regexp source list command: (lldb) l -10 Which gets turned into: (lldb) source list --reverse --count 10 Also simplified the code that is used to track showing more source from the last file and line. llvm-svn: 176961
-
rdar://problem/13396207Greg Clayton authored
Added logging that will show up in the system console when we try to resume a process that is already running, or has an unexpected state. llvm-svn: 176960
-
Jakob Stoklund Olesen authored
We have the same assertion in createVirtualRegister. llvm-svn: 176959
-
Jim Ingham authored
Add a target setting (target.use-fast-stepping) to control using the "run to next branch" stepping algorithm. llvm-svn: 176958
-
Daniel Jasper authored
Before: int a = sizeof(int *)+ b;" After: int a = sizeof(int *) + b; llvm-svn: 176957
-
Anton Yartsev authored
llvm-svn: 176956
-
Arnold Schwaighofer authored
In r176898 I updated the cost model to reflect the fact that sext/zext/cast on v8i32 <-> v8i8 and v16i32 <-> v16i8 are expensive. This test case is so that we make sure to update the cost model once we fix CodeGen. llvm-svn: 176955
-
Adrian Prantl authored
llvm-svn: 176954
-
Daniel Jasper authored
Before: switch (x) { // if 1, do f() case 1: f(); } After: switch (x) { // if 1, do f() case 1: f(); } llvm-svn: 176953
-
Daniel Jasper authored
Before: ->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() - aaaaaaaaa()->aaaaaa() ->aaaaa()); After: a->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() - aaaaaaaaa()->aaaaaa()->aaaaa()); llvm-svn: 176952
-
Alexander Kornienko authored
Summary: <subj> Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D536 llvm-svn: 176951
-