| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
| |
suite with clang++ enabled.
The right fix here is PR6175, although we would still have to find a different
work around for the gdb test suite.
llvm-svn: 94838
|
| |
|
|
| |
llvm-svn: 94812
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so that CIndex can report diagnostics through the normal mechanisms
even when executing Clang in a separate process. This applies both
when performing code completion and when using ASTs as an intermediary
for clang_createTranslationUnitFromSourceFile().
The serialized format is not perfect at the moment, because it does
not encapsulate macro-instantiation information. Instead, it maps all
source locations back to the instantiation location. However, it does
maintain source-range and fix-it information. To get perfect fidelity
from the serialized format would require serializing a large chunk of
the source manager; at present, it isn't clear if this code will live
long enough for that to matter.
llvm-svn: 94740
|
| |
|
|
|
|
| |
defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector).
llvm-svn: 94642
|
| |
|
|
| |
llvm-svn: 94641
|
| |
|
|
|
|
| |
versions to match gcc (which is matching linker changes).
llvm-svn: 94640
|
| |
|
|
|
|
| |
information.
llvm-svn: 94639
|
| |
|
|
|
|
| |
just indicating whether the default target should be iPhoneOS.
llvm-svn: 94638
|
| |
|
|
| |
llvm-svn: 94637
|
| |
|
|
|
|
|
| |
this should just be part of the tool chain itself once we have eliminated
argument translation.
llvm-svn: 94635
|
| |
|
|
| |
llvm-svn: 94503
|
| |
|
|
| |
llvm-svn: 94488
|
| |
|
|
|
|
| |
triple instead of keying off architecture. Also, fix version define to properly include the revision/micro component of the version number.
llvm-svn: 94487
|
| |
|
|
|
|
| |
file.
llvm-svn: 94463
|
| |
|
|
|
|
|
| |
line -- they may be remapped (fake) files. This is useful for testing parsing
entirely from memory.
llvm-svn: 94395
|
| |
|
|
| |
llvm-svn: 94379
|
| |
|
|
| |
llvm-svn: 94273
|
| |
|
|
|
|
| |
libBasic/Version.cpp, getClangFullVendorVersion().
llvm-svn: 94235
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
have it return a StringRef instead of an integer (to be more VCS
agnostic).
(2) Add getClangFullRepositoryVersion(), which contains an
amalgamation of the repository name and the revision.
(3) Change PCH to only emit the string returned by
getClangFullRepositoryVersion() instead of also emitting the value
of getClangSubversionRevision() (which has been removed). This is
functionally equivalent.
More cleanup to version string generation pending...
llvm-svn: 94231
|
| |
|
|
|
|
| |
return a StringRef.
llvm-svn: 94213
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiler-rt. This tool chain now works on x86 and ARM, but isn't the x86 default
yet.
This drastically cleans up the linker invocation, old invocation:
--
"/Developer/usr/bin/../libexec/gcc/i686-apple-darwin10/4.2.1/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-weak_reference_mismatches" "non-weak" "-o" "a.out" "-lcrt1.10.6.o" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64" "-L/usr/lib/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1" "-L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.." "t.o" "-lSystem" "-lgcc"
--
New invocation:
--
# For 10.6:
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.6.0" "-o" "a.out" "-lcrt1.10.6.o" "t.o" "-lSystem"
# For 10.4:
"/usr/bin/ld" "-dynamic" "-arch" "x86_64" "-macosx_version_min" "10.4" "-o" "a.out" "-lcrt1.o" "t.o" "-lSystem" "-lgcc_s.10.4" "/Volumes/Data/ddunbar/llvm.obj.64/Debug/lib/clang/1.1/lib/darwin/libclang_rt.10.4.a"
--
llvm-svn: 94150
|
| |
|
|
|
|
| |
not always added.
llvm-svn: 94149
|
| |
|
|
|
|
| |
name being used in an driver invocation.
llvm-svn: 94139
|
| |
|
|
|
|
| |
diverge from gcc anyway.
llvm-svn: 94138
|
| |
|
|
| |
llvm-svn: 93971
|
| |
|
|
| |
llvm-svn: 93834
|
| |
|
|
| |
llvm-svn: 93749
|
| |
|
|
| |
llvm-svn: 93087
|
| |
|
|
|
|
| |
-weak_reference_mismatches is not present, it is the default.
llvm-svn: 93086
|
| |
|
|
| |
llvm-svn: 93078
|
| |
|
|
|
|
| |
targethook, which is no longer being used. This fixes PR5971.
llvm-svn: 92987
|
| |
|
|
| |
llvm-svn: 92686
|
| |
|
|
| |
llvm-svn: 92162
|
| |
|
|
| |
llvm-svn: 92012
|
| |
|
|
| |
llvm-svn: 91962
|
| |
|
|
| |
llvm-svn: 91960
|
| |
|
|
|
|
|
|
| |
used during compilation.
- There is no easy way to define this group properly, unfortunately, and maybe
this is a losing strategy. For now this is unambiguous more friendly, though.
llvm-svn: 91940
|
| |
|
|
|
|
|
|
| |
- Correctly is in quotes, because we are following what I interpreted as GCC's
intent (which diverges from practice, naturally).
- Also, fix the arch define for arm1136jf-s.
llvm-svn: 91855
|
| |
|
|
|
|
| |
object.
llvm-svn: 91830
|
| |
|
|
|
|
|
| |
would have a higher respect for its own code. This is getting old, is this
warning really adding value?
llvm-svn: 91779
|
| |
|
|
|
|
| |
"soft-float-abi" to communicate FP mode to target; __SOFTFP__ is set correctly now.
llvm-svn: 91755
|
| |
|
|
|
|
| |
not alias driver/backend option.
llvm-svn: 91671
|
| |
|
|
|
|
|
|
| |
to compile a translation unit into the debug info for that file.
- Used by parts of Darwin build process to check compiler flags, etc.
- <rdar://problem/7256886> clang does not emit AT_APPLE_flags
llvm-svn: 91661
|
| |
|
|
| |
llvm-svn: 91562
|
| |
|
|
|
|
|
|
| |
default, and adds the malloc attribute to the global function new() and to the overloaded new operators.
feel free to chage the name to this lengthy argument
llvm-svn: 91543
|
| |
|
|
|
|
| |
already found itself.
llvm-svn: 91384
|
| |
|
|
|
|
| |
no extra safety anyway.
llvm-svn: 91207
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This implements a new flag -fcatch-undefined-behavior. The flag turns
on additional runtime checks for:
T a[I];
a[i] abort when i < 0 or i >= I.
Future stuff includes shifts by >= bitwidth amounts.
llvm-svn: 91198
|
| |
|
|
|
|
| |
(changes the ABI, so it is dangerous to not error out if we don't support it). Fixes <rdar://problem/7461006>.
llvm-svn: 91191
|
| |
|
|
| |
llvm-svn: 91174
|