| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
|
|
|
|
|
|
| |
is not used in any #ifdef.
llvm-svn: 168703
|
|
|
|
|
|
| |
can't handle the input file type. This resulted in PR14338.
llvm-svn: 168024
|
|
|
|
|
|
|
| |
the driver (the options defined in CC1Options.td) and exclude their help from
"clang --help".
llvm-svn: 167638
|
|
|
|
|
|
|
|
| |
triple.
- Translate the special case of powerpc to its expected -arch name.
llvm-svn: 167571
|
|
|
|
| |
llvm-svn: 167567
|
|
|
|
|
|
| |
More cleanups to follow in separate commits....
llvm-svn: 167566
|
|
|
|
| |
llvm-svn: 167559
|
|
|
|
| |
llvm-svn: 167211
|
|
|
|
|
|
| |
I will remove it from llvm in the next commit.
llvm-svn: 167156
|
|
|
|
|
|
|
|
|
|
|
|
| |
diagnostics script.
This addresses the FIXME pertaining to quoted arguments. We also delineate
between those flags that have an argument (e.g., -D macro, -MF file) and
those that do not (e.g., -M, -MM, -MG). Finally, we add the -dwarf-debug-flags
to the list of flags to be removed.
rdar://12329974
llvm-svn: 167152
|
|
|
|
| |
llvm-svn: 167118
|
|
|
|
|
|
|
|
|
|
| |
is not a directory, Driver::GetProgramPath() routine does not try to append
the program name as a "path component" to it. It just joins the "prefix" with
the program name and checks the resulting path existence.
The patch reviewed by Rafael Espindola.
llvm-svn: 167114
|
|
|
|
| |
llvm-svn: 167093
|
|
|
|
| |
llvm-svn: 167062
|
|
|
|
|
|
|
|
|
| |
we had the -ccc-clang-cxx and -ccc-no-clang-cxx options to force them
on or off for testing.
Clang c++ support is now production quality and these options are dead.
llvm-svn: 166986
|
|
|
|
| |
llvm-svn: 166983
|
|
|
|
|
|
| |
is absolute.
llvm-svn: 166808
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each option has a set of prefixes. When matching an argument such as
-funroll-loops. First the leading - is removed as it is a prefix. Then
a lower_bound search for "funroll-loops" is done against the option table by
option name. From there each option prefix + option name combination is tested
against the argument.
This allows us to support Microsoft style options where both / and - are valid
prefixes. It also simplifies the cases we already have where options come in
both - and -- forms. Almost every option for gnu-ld happens to have this form.
llvm-svn: 166444
|
|
|
|
| |
llvm-svn: 166348
|
|
|
|
|
|
| |
This seems to have introduced assertion hit when building compiler-rt.
llvm-svn: 166245
|
|
|
|
| |
llvm-svn: 166230
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang itself. This dates back to clang's early days and while it looks like
some of it is still used (for kext for example), other parts are probably dead.
Remove the -ccc-clang-archs option and associated code. I don't think there
is any remaining setup where clang doesn't support an architecture but it can
expect an working gcc cross compiler to be available.
A nice side effect is that tests no longer need to differentiate architectures
that are included in production builds of clang and those that are not.
llvm-svn: 165545
|
|
|
|
| |
llvm-svn: 165216
|
|
|
|
|
|
|
|
|
| |
This parameter is useless because nowhere used explicitly and always
gets its default value - "false".
The patch reviewed by Rafael Espindola.
llvm-svn: 165149
|
|
|
|
| |
llvm-svn: 165105
|
|
|
|
|
|
|
| |
use the integrated pre-processor, preprocess in objective-c++ mode.
// rdar://12189793.
llvm-svn: 164836
|
|
|
|
| |
llvm-svn: 163870
|
|
|
|
| |
llvm-svn: 162231
|
|
|
|
| |
llvm-svn: 161546
|
|
|
|
| |
llvm-svn: 161367
|
|
|
|
|
|
|
|
|
|
| |
'clang-cpp'.
For now, the test uses "REQUIRES: shell" to determine if the host system
supports "ln -s", which it uses to create a 'clang-cpp' symlink. This is a bit
hacky and should likely be directly supported by lit.cfg.
llvm-svn: 161317
|
|
|
|
|
|
| |
Fixes PR13343.
llvm-svn: 161019
|
|
|
|
|
|
|
|
| |
-internal-externc-isystem.
rdar://11949066
llvm-svn: 160752
|
|
|
|
|
|
|
| |
-iwithprefixbefore, and -isystem options, per Matt's suggestion.
rdar://11949066
llvm-svn: 160750
|
|
|
|
|
|
|
|
|
| |
-Strip -iquote and -M options.
-Quote -D options to avoid problems with command line macros that include
parens.
rdar://11949066
llvm-svn: 160743
|
|
|
|
|
|
|
|
|
|
|
| |
- lib/Driver/Driver.cpp, tools/driver/driver.cpp: Exit status should not be propagated, although clang driver should catch exceptions.
- test/Driver/crash-report.c: Add REQUIRES:shell for now.
FIXME: setenv should work also on Lit.InternalShellRunner.
- test/Driver/crash-report.c: Remove XFAIL.
Thanks to Chad, To point out the issue.
llvm-svn: 160343
|
|
|
|
| |
llvm-svn: 159942
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that we're only using -frewrite-includes rather than full preprocessing
when producing repro source files, we should also include command line macro
definitions in the repro script.
I don't have a test case for this because I'm not sure if/how I can open the
crash report file when the name is only known by scraping the crash report
output. Suggestions welcome if anyone thinks it'd be helpful.
llvm-svn: 159592
|
|
|
|
|
|
|
|
|
|
|
| |
In future changes we should:
* use __builtin_trap rather than derefing 'random' volatile pointers.
* avoid dumping temporary files into /tmp when running tests, instead
preferring a location that is properly cleaned up by lit.
Review by Chandler Carruth.
llvm-svn: 159469
|
|
|
|
|
|
| |
rdar://11684107
llvm-svn: 158734
|
|
|
|
| |
llvm-svn: 158729
|
|
|
|
|
|
|
| |
filed, but still missing the preprocessed source and associated run script.
rdar://11684107
llvm-svn: 158727
|
|
|
|
|
|
| |
rdar://11518308
llvm-svn: 157346
|
|
|
|
|
|
|
|
| |
arguments, force use of clang frontend for the driver.
Fixes rdar://11356765.
llvm-svn: 157205
|
|
|
|
| |
llvm-svn: 156947
|
|
|
|
|
|
| |
Patch by Jordy Rose.
llvm-svn: 156172
|
|
|
|
|
|
|
|
|
| |
and use
array_lengthof. Also, append the new filename with correct preprocessed suffix.
Last part of rdar://11285725
llvm-svn: 156117
|
|
|
|
|
|
| |
Part of rdar://11285725
llvm-svn: 156096
|
|
|
|
|
|
|
| |
aren't necessary to reproduce the clang crash.
Part of rdar://11285725
llvm-svn: 156079
|