| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 176983
|
| |
|
|
| |
llvm-svn: 176980
|
| |
|
|
| |
llvm-svn: 176978
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 176974
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: No functionality change.
Reviewers: Bigcheese
Reviewed By: Bigcheese
CC: llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D535
llvm-svn: 176973
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
in the LLVM assembly language output.
llvm-svn: 176971
|
| |
|
|
| |
llvm-svn: 176970
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
up putback to clang for mips16.
llvm-svn: 176968
|
| |
|
|
| |
llvm-svn: 176967
|
| |
|
|
| |
llvm-svn: 176966
|
| |
|
|
|
|
| |
Fixes <rdar://problem/12322528>
llvm-svn: 176965
|
| |
|
|
| |
llvm-svn: 176964
|
| |
|
|
| |
llvm-svn: 176963
|
| |
|
|
| |
llvm-svn: 176962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
We have the same assertion in createVirtualRegister.
llvm-svn: 176959
|
| |
|
|
|
|
| |
next branch" stepping algorithm.
llvm-svn: 176958
|
| |
|
|
|
|
| |
Before: int a = sizeof(int *)+ b;"
After: int a = sizeof(int *) + b;
llvm-svn: 176957
|
| |
|
|
| |
llvm-svn: 176956
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 176954
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
switch (x) {
// if 1, do f()
case 1:
f();
}
After:
switch (x) {
// if 1, do f()
case 1:
f();
}
llvm-svn: 176953
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Before:
->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() - aaaaaaaaa()->aaaaaa()
->aaaaa());
After:
a->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() -
aaaaaaaaa()->aaaaaa()->aaaaa());
llvm-svn: 176952
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: <subj>
Reviewers: djasper
Reviewed By: djasper
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D536
llvm-svn: 176951
|
| |
|
|
|
|
|
|
| |
%v, C1), C2 :
Only combine when the shl is only used by the icmp
llvm-svn: 176950
|
| |
|
|
|
|
|
|
|
| |
+ Individual Report* method for each bug type
+ Comment improved: missing non-trivial alloca() case annotated
+ 'range' parameter of ReportBadFree() capitalized
+ 'SymbolRef Sym = State->getSVal(A, C.getLocationContext()).getAsSymbol();' shorten to 'SymbolRef Sym = C.getSVal(A).getAsSymbol();'
llvm-svn: 176949
|
| |
|
|
| |
llvm-svn: 176948
|
| |
|
|
|
|
| |
Otherwise debug DynamoRIO complains at us for leaking memory.
llvm-svn: 176947
|
| |
|
|
|
|
| |
sigh.
llvm-svn: 176946
|
| |
|
|
| |
llvm-svn: 176945
|
| |
|
|
|
|
|
|
|
|
| |
Information messages sent to stdout by ClangTool now only happen when the -debug
flag is set.
Error messages that used to go to stdout now go to stderr.
Author: Ariel J Bernal <ariel.j.bernal@intel.com>
llvm-svn: 176944
|
| |
|
|
| |
llvm-svn: 176943
|
| |
|
|
|
|
| |
It is required when building tests with ASan or MSan.
llvm-svn: 176942
|
| |
|
|
|
|
| |
It is required when building tests with ASan or MSan.
llvm-svn: 176941
|
| |
|
|
| |
llvm-svn: 176940
|
| |
|
|
|
|
| |
Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS.
llvm-svn: 176939
|
| |
|
|
| |
llvm-svn: 176938
|
| |
|
|
| |
llvm-svn: 176937
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
A = new SomeType * [Length];
A = new SomeType *[Length]();
After:
A = new SomeType *[Length];
A = new SomeType *[Length]();
Small formatting cleanups with clang-format.
llvm-svn: 176936
|
| |
|
|
| |
llvm-svn: 176935
|
| |
|
|
|
|
| |
This is needed to get symbolized stack traces when running Clang tests under (A|M)San.
llvm-svn: 176934
|
| |
|
|
|
|
| |
This is needed to get symbolized stack traces when running LLVM tests under (A|M)San.
llvm-svn: 176933
|
| |
|
|
| |
llvm-svn: 176932
|
| |
|
|
|
|
| |
protection flags (for future use in leak checker). Patch by Sergey Matveev.
llvm-svn: 176931
|