| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 241878
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D8077
llvm-svn: 241863
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We were previously creating bit set entries at virtual table offset
sizeof(void*) unconditionally under the Microsoft C++ ABI. This is incorrect
if RTTI data is disabled; in that case the "address point" is at offset
0. This change modifies bit set emission to take into account whether RTTI
data is being emitted.
Also make a start on a blacklisting scheme for records.
Differential Revision: http://reviews.llvm.org/D11048
llvm-svn: 241845
|
|
|
|
|
|
| |
and re-clang-format (NFC).
llvm-svn: 241841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for specifying where the profile is emitted in a
way similar to GCC. These flags are used to specify directories instead
of filenames. When -fprofile-generate=DIR is used, the compiler will
generate code to write to <DIR>/default.profraw.
The patch also adds a couple of extensions: LLVM_PROFILE_FILE can still be
used to override the directory and file name to use and -fprofile-use
accepts both directories and filenames.
To simplify the set of flags used in the backend, all the flags get
canonicalized to -fprofile-instr-{generate,use} when passed to the
backend. The decision to use a default name for the profile is done
in the driver.
llvm-svn: 241825
|
|
|
|
| |
llvm-svn: 241812
|
|
|
|
|
|
|
| |
Also fixes a crash (on invalid) member functions with a colon
initializer. PR23948.
llvm-svn: 241811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One of the problems libclang tests has running under Windows is memory
allocated in libclang.dll but being freed in the test executable, possibly
by a different memory manager. This patch exposes a new export function,
clang_free(), used to free any allocated memory with the same libclang.dll
memory manager that allocated the memory.
http://reviews.llvm.org/D10949
Reviewed by Reid Kleckner, Douglas Gregor.
llvm-svn: 241789
|
|
|
|
|
|
|
| |
Similarly to r231989, the driver arguments can be quite helpful in
diagnosing a crash.
llvm-svn: 241786
|
|
|
|
|
|
| |
PR24067.
llvm-svn: 241782
|
|
|
|
|
|
| |
Fixes PR24067.
llvm-svn: 241770
|
|
|
|
|
|
|
|
| |
Move the diagnostic back to codegen so that we can compile ATL on the
self-host bot. We don't actually end up emitting code for the __try, so
the diagnostic won't be hit.
llvm-svn: 241761
|
|
|
|
|
|
| |
This function will be used for emitting debug info.
llvm-svn: 241748
|
|
|
|
|
|
| |
underlying types. A visible declaration is enough to make the type complete, but not enough to make the definition visible.
llvm-svn: 241743
|
|
|
|
|
|
|
| |
standards. Remove several hilariously out-of-date and redundant comments
and move the non-redundant ones into the header file.
llvm-svn: 241733
|
|
|
|
|
|
| |
empty namespace.
llvm-svn: 241732
|
|
|
|
|
|
| |
We were previously ignoring classes laid out at offset zero.
llvm-svn: 241729
|
|
|
|
|
|
|
|
|
| |
There are known issues, but the current implementation is good enough for
the check-cfi test suite.
Differential Revision: http://reviews.llvm.org/D11030
llvm-svn: 241728
|
|
|
|
|
|
| |
standards and clang-format the file.
llvm-svn: 241723
|
|
|
|
| |
llvm-svn: 241722
|
|
|
|
| |
llvm-svn: 241711
|
|
|
|
|
|
|
|
|
| |
Until somebody writes the code for it, be loud about the fact that
it's not implemented yet.
Differential Revision: http://reviews.llvm.org/D11020
llvm-svn: 241708
|
|
|
|
|
|
| |
generating reference results in the test suite.
llvm-svn: 241706
|
|
|
|
|
|
|
|
|
|
| |
Desugar doesn't necessarily initialize ShouldAKA, but as of r241542 it
may read it. Fix the misuse of the API and initialize this before
passing it in.
Found by ubsan.
llvm-svn: 241705
|
|
|
|
| |
llvm-svn: 241704
|
|
|
|
| |
llvm-svn: 241690
|
|
|
|
|
|
| |
This reverts commit r241636 as it turned out to be unnecessary.
llvm-svn: 241684
|
|
|
|
| |
llvm-svn: 241680
|
|
|
|
|
|
|
|
|
|
|
| |
For Mips direct-to-nacl, the goal is to be close to le32 front-end and
use Mips32EL backend. This patch defines new NaClMips32ELTargetInfo and
modifies it slightly to be close to le32. It also adds necessary parts,
inline with ARM and X86.
Differential Revision: http://reviews.llvm.org/D10739
llvm-svn: 241678
|
|
|
|
|
|
|
|
|
| |
in struct (patch by Denis Zobnin)
The fix is to emit cleanup for arrays of memcpy-able objects in struct if an exception is thrown later during copy-construction.
Differential Revision: http://reviews.llvm.org/D10989
llvm-svn: 241670
|
|
|
|
|
|
|
|
|
|
|
|
| |
attribute blocks"
This reverts commit r239846 and r239879. They caused clang's
-fms-extensions behavior to incorrectly parse lambdas and includes a
testcase to ensure we don't regress again.
This issue was found in PR24027.
llvm-svn: 241668
|
|
|
|
|
|
|
|
|
|
|
| |
We didn't correctly process the case where a base class is classified as
MEMORY. This would cause us to trip over an assertion.
This fixes PR24020.
Differential Revision: http://reviews.llvm.org/D10907
llvm-svn: 241667
|
|
|
|
|
|
|
|
|
|
|
|
| |
We forgot to run postMerge after decided that the union had to be
classified as MEMORY. This left us with Lo == MEMORY and Hi == SSEUp
which is an invalid combination.
This fixes PR24021.
Differential Revision: http://reviews.llvm.org/D10908
llvm-svn: 241666
|
|
|
|
| |
llvm-svn: 241664
|
|
|
|
|
|
|
| |
instantiation, use the set of modules visible from the template definition, not
from whichever declaration the specialization was instantiated from.
llvm-svn: 241662
|
|
|
|
| |
llvm-svn: 241661
|
|
|
|
| |
llvm-svn: 241660
|
|
|
|
|
|
|
| |
clang-check now initializes the available targets to support
clang module containers.
llvm-svn: 241656
|
|
|
|
|
|
| |
of the llvm targets from clang/CodeGen into ClangCheck.cpp and CIndex.cpp.
llvm-svn: 241653
|
|
|
|
|
|
| |
This should do the right thing for stack realignment prologues.
llvm-svn: 241644
|
|
|
|
|
|
| |
failures.
llvm-svn: 241642
|
|
|
|
|
|
| |
There must be a better way to fix this — I'll keep investigating.
llvm-svn: 241636
|
|
|
|
| |
llvm-svn: 241635
|
|
|
|
| |
llvm-svn: 241634
|
|
|
|
| |
llvm-svn: 241630
|
|
|
|
| |
llvm-svn: 241627
|
|
|
|
| |
llvm-svn: 241626
|
|
|
|
|
|
| |
r241620.
llvm-svn: 241623
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds ObjectFilePCHContainerOperations uses the LLVM backend
to put the contents of a PCH into a __clangast section inside a COFF, ELF,
or Mach-O object file container.
This is done to facilitate module debugging by makeing it possible to
store the debug info for the types defined by a module alongside the AST.
rdar://problem/20091852
llvm-svn: 241620
|
|
|
|
|
|
| |
static_assert. Amends r241577.
llvm-svn: 241604
|