| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as reported to the user and as manipulated by #line. This is what __FILE__,
__INCLUDE_LEVEL__, diagnostics and other things should follow (but not
dependency generation!).
This patch also includes several cleanups along the way:
- SourceLocation now has a dump method, and several other places
that did similar things now use it.
- I cleaned up some code in AnalysisConsumer, but it should probably be
simplified further now that NamedDecl is better.
- TextDiagnosticPrinter is now simplified and cleaned up a bit.
This patch is a prerequisite for #line, but does not actually provide
any #line functionality.
llvm-svn: 63098
|
| |
|
|
| |
llvm-svn: 63097
|
| |
|
|
| |
llvm-svn: 63095
|
| |
|
|
| |
llvm-svn: 63094
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
address space we used up. Some interesting data:
For c99-intconst-1.c:
6912762 SLocEntry's allocated, 25592386B of Sloc address space used.
For cocoa.h:
26469 SLocEntry's allocated, 10278752B of Sloc address space used.
For carbon.h:
27364 SLocEntry's allocated, 12398141B of Sloc address space used.
Clearly 2G of sloc address space should be enough for anyone?!
llvm-svn: 63093
|
| |
|
|
| |
llvm-svn: 63092
|
| |
|
|
| |
llvm-svn: 63091
|
| |
|
|
| |
llvm-svn: 63090
|
| |
|
|
| |
llvm-svn: 63089
|
| |
|
|
| |
llvm-svn: 63088
|
| |
|
|
|
|
|
| |
- gcc appears to be classifying <1 x double> as INTEGER which is
odd. Will investigate later.
llvm-svn: 63086
|
| |
|
|
| |
llvm-svn: 63085
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Add the distinction between the 'bug type' and the 'bug description'
HTMLDiagnostics:
- Output the bug type field as HTML comments
scan-build:
- Use the bug type field instead of the bug description for the HTML table.
- Radar filing now automatically picks up the bug description in the title (addresses <rdar://problem/6265970>)
llvm-svn: 63084
|
| |
|
|
|
|
| |
- Code quality is poor, but simple.
llvm-svn: 63083
|
| |
|
|
| |
llvm-svn: 63080
|
| |
|
|
|
|
|
| |
to help verify that the feature may be disabled through
the -mno-red-zone option.
llvm-svn: 63079
|
| |
|
|
| |
llvm-svn: 63078
|
| |
|
|
|
|
|
|
| |
- DW_AT_bit_size is only suitable for bitfields.
- Encode source location info for derived types.
- Source location and type size info is not useful for subroutine_type (info is included in respective DISubprogram) and array_type.
llvm-svn: 63077
|
| |
|
|
| |
llvm-svn: 63075
|
| |
|
|
|
|
|
|
| |
Don't use the Red Zone when dynamic stack realignment is needed.
This could be implemented, but most x86-64 ABIs don't require
dynamic stack realignment so it isn't urgent.
llvm-svn: 63074
|
| |
|
|
| |
llvm-svn: 63073
|
| |
|
|
|
|
|
|
|
|
| |
spelling data in the PTH file. This removes a ton of code for looking up spellings using sourcelocations in the PTH file. This simplifies both PTH-generation and reading.
Performance impact for -fsyntax-only on Cocoa.h (with Cocoa.h in the PTH file):
- PTH generation time improves by 5%
- PTH reading improves by 0.3%.
llvm-svn: 63072
|
| |
|
|
| |
llvm-svn: 63071
|
| |
|
|
| |
llvm-svn: 63070
|
| |
|
|
|
|
| |
builtins-x86.c.
llvm-svn: 63069
|
| |
|
|
|
|
| |
case correctly.
llvm-svn: 63068
|
| |
|
|
| |
llvm-svn: 63067
|
| |
|
|
|
|
| |
as well (for nonfragile-abi).
llvm-svn: 63062
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- When it's safe, ActionResult uses the low bit of the pointer for
the "invalid" flag rather than a separate "bool" value. This keeps
GCC from generating some truly awful code, for a > 3x speedup in the
result-passing microbenchmark.
- When DISABLE_SMART_POINTERS is defined, store an ActionResult
within ASTOwningResult rather than an ASTOwningPtr. Brings the
performance benefits of the above to smart pointers with
DISABLE_SMART_POINTERS defined.
Sadly, these micro-benchmark performance improvements don't seem to
make much of a difference on Cocoa.h right now. However, they're
harmless and might help with future optimizations.
llvm-svn: 63061
|
| |
|
|
|
|
| |
optimize it to use the LiteralData when possible.
llvm-svn: 63060
|
| |
|
|
|
|
| |
- Update DWARF debugging support.
llvm-svn: 63059
|
| |
|
|
|
|
|
| |
doesn't support it. The default is set to 'true', so this should not
impact any other target backends.
llvm-svn: 63058
|
| |
|
|
|
|
|
| |
to crash when given an instantiation location. Thanks to Fariborz for
the testcase.
llvm-svn: 63057
|
| |
|
|
|
|
|
| |
disabled by default; I'll enable it when I hook it up with
the llvm-gcc flag which controls it.
llvm-svn: 63056
|
| |
|
|
| |
llvm-svn: 63055
|
| |
|
|
| |
llvm-svn: 63054
|
| |
|
|
| |
llvm-svn: 63052
|
| |
|
|
| |
llvm-svn: 63050
|
| |
|
|
| |
llvm-svn: 63049
|
| |
|
|
|
|
|
|
|
| |
checking logic. Rather than make the checking more
complicated, I've tweaked some logic to make things
conform to how the checking thought things ought to
be, since this results in a simpler "mental model".
llvm-svn: 63048
|
| |
|
|
| |
llvm-svn: 63047
|
| |
|
|
|
|
| |
will help improve gradual versioning of PTH files instead of relying that the PTH table is at a fixed offset.
llvm-svn: 63045
|
| |
|
|
| |
llvm-svn: 63044
|
| |
|
|
|
|
| |
meta-data.
llvm-svn: 63043
|
| |
|
|
| |
llvm-svn: 63042
|
| |
|
|
| |
llvm-svn: 63041
|
| |
|
|
| |
llvm-svn: 63040
|
| |
|
|
| |
llvm-svn: 63039
|
| |
|
|
|
|
| |
a unified return).
llvm-svn: 63038
|
| |
|
|
| |
llvm-svn: 63037
|