- Oct 08, 2015
-
-
Jonas Paulsson authored
Don't use subreg indices since they are not used after regalloc. Reviewed by Ulrich Weigand. llvm-svn: 249663
-
Jonas Paulsson authored
Reviewed by Ulrich Weigand. llvm-svn: 249662
-
Denis Protivensky authored
Set ENTRY as an entry point if -e is not specified. Differential Revision: http://reviews.llvm.org/D13509 llvm-svn: 249661
-
David Majnemer authored
These test updates almost exclusively around the change in behavior around enum: enums without a definition are considered incomplete except when targeting MSVC ABIs. Since these tests are interested in the 'incomplete-enum' behavior, restrict them to %itanium_abi_triple. llvm-svn: 249660
-
Craig Topper authored
llvm-svn: 249659
-
Douglas Katzman authored
llvm-svn: 249658
-
Douglas Katzman authored
llvm-svn: 249657
-
David Majnemer authored
No ABI for C++ currently makes it possible to implement the standard 100% perfectly. We wrongly hid some of our compatible behavior behind -fms-compatibility instead of tying it to the compiler ABI. llvm-svn: 249656
-
Douglas Katzman authored
With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation. Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed. Differential Revision: http://reviews.llvm.org/D13221 llvm-svn: 249655 -
Sanjoy Das authored
Comparing `Pred` with `ICmpInst::ICMP_ULT` is cheaper that memory access -- do that check before loading / storing `ProvingSplitPredicate`. llvm-svn: 249654
-
Sanjoy Das authored
(As prescribed by the coding style document) llvm-svn: 249653
-
Craig Topper authored
llvm-svn: 249652
-
Mohit K. Bhakkad authored
Reviewers: clayborg. Subscribers: jaydeep, bhushan, sagar, nitesh.jain, lldb-commits. Differential Revision: http://reviews.llvm.org/D13493 llvm-svn: 249651
-
Rui Ueyama authored
getID()'s return type is unsigned int, so I don't think we need this default for -Wswitch-enum. llvm-svn: 249650
-
Marshall Clow authored
Fix incorrect parsing of arguments for nested functions. Reviewed as http://reviews.llvm.org/D13192. Thanks to Anseny Kapoulkine for the patch. llvm-svn: 249649
-
Diego Novillo authored
This reverts commit r249644. The buildbots are failing the new test I added. Investigating. llvm-svn: 249648
-
Reid Kleckner authored
Testing has shown that it is at least as reliable as the old landingpad pattern matching code. llvm-svn: 249647
-
Kostya Serebryany authored
llvm-svn: 249646
-
Rui Ueyama authored
llvm-svn: 249645
-
Diego Novillo authored
This patch adds support for reading sample profiles with inline stacks. Inline stacks in a profile are generated when the sampled binary has samples in inlined functions. For instance, if main() calls foo() and foo() calls bar(), and bar() is inlined into foo() and foo() inlined into main(), the profile may look something like: main total:364084 head:0 [ ... ] 2.3: _Z3fool total:243786 1: 60149 1.2: 38568 1.4: 46511 1.7: _Z3bari total:98558 1.1: 52672 1.2: 45886 At line 2, discriminator 3, main() calls foo(). In turn, foo() calls bar() at line 1, discriminator 7. In the textual format, this stacking of inline calls is represented with indentation. With this change, LLVM can now read sample profile files generated by the create_gcov tool from https://github.com/google/autofdo. llvm-svn: 249644 -
Justin Bogner authored
In r224059, we started verifying after addPass, but missed doing so on insertPass. There isn't a good reason for the discrepancy, and skipping the verifier in these cases causes bugs. This also exposes a verifier error that was introduced in r249087, but the verifier doesn't run until after the register coalescer, when the issue happens to have been resolved. I've skipped the verifier after SIFixSGPRLiveRangesID to avoid the failures for now and will follow up with Matt for a proper fix. llvm-svn: 249643
-
Rui Ueyama authored
I'm going to use them in other patches, and the names feel too long despite their narrow scope. llvm-svn: 249642
-
Richard Smith authored
the "" and the suffix; that breaks names such as 'operator""if'. For symmetry, also remove the space between the 'operator' and the '""'. llvm-svn: 249641
-
Reid Kleckner authored
The backend restores the stack pointer after recovering from an exception. This is similar to r245879, but it doesn't try to use the normal cleanup mechanism, so hopefully it won't cause the same breakage. llvm-svn: 249640
-
Ehsan Akhgari authored
Right now clang_Cursor_getMangling will attempt to mangle any declaration, even if the declaration isn't mangled (extern C). This results in a partially mangled name which isn't useful for much. This patch makes clang_Cursor_getMangling return an empty string if the declaration isn't mangled. Patch by Michael Wu <mwu@mozilla.com>. llvm-svn: 249639
-
Reid Kleckner authored
llvm-svn: 249638
-
Reid Kleckner authored
In particular, passing non-trivially copyable objects by value on win32 uses a dynamic alloca (inalloca). We would clobber ESP in the epilogue and end up returning to outer space. llvm-svn: 249637
-
Rui Ueyama authored
llvm-svn: 249636
-
Rui Ueyama authored
llvm-svn: 249635
-
Davide Italiano authored
llvm-svn: 249634
-
Alexey Samsonov authored
Summary: Since r223145 we don't include sanitizer_allocator_internal.h into sanitizer_symbolizer.h, so we can have undefined reference to Internal{Alloc, Free} stuff into sanitizer_symbolizer_libbacktrace.cc under SANITIZER_CP_DEMANGLE macro. This patch simply includes appropriate header into sanitizer_symbolizer_libbacktrace.h to resolve the issue. Patch by Maxim Ostapenko! Reviewers: kcc, eugenis, samsonov Subscribers: llvm-commits, ygribov Differential Revision: http://reviews.llvm.org/D13429 llvm-svn: 249633 -
Pete Cooper authored
llvm-nm only needs the target to parse module level assembly in bitcode. It doesn't need a disassembler or codegen. llvm-objdump needs to be able to disassemble a file, but doesn't need asm parsers or codegen. This reduces the sizes of these tools by a few MB each, depending on how many backends are linked in. llvm-svn: 249632
-
Greg Clayton authored
llvm-svn: 249631
-
Rui Ueyama authored
`not` command on Windows is not able to find an executable from PATH if a given command already has an extension even if the extension is not ".exe". llvm-svn: 249630
-
Siva Chandra authored
Summary: This change fixes pr24916. As associated test has been added. Reviewers: clayborg Subscribers: zturner, lldb-commits Differential Revision: http://reviews.llvm.org/D13224 llvm-svn: 249629
-
Davide Italiano authored
llvm-svn: 249628
-
Davide Italiano authored
Spotted by: Rafael Espindola. llvm-svn: 249627
-
Greg Clayton authored
Fix the TestCppNsImport test case for DWARF. It was failing for DWARF in .o files because SymbolFileDWARFDebugMap didn't implement the following function: void ParseDeclsForContext (lldb_private::CompilerDeclContext decl_ctx) override; Now it does and the test works. llvm-svn: 249626 -
Greg Clayton authored
Don't do DWO tests on darwin as they aren't supported. If this is an error and they are supported, we need to add support _only_ if the clang compiler that is being used supports the compiler option for DWO stuff as right now I just get an error saying "warning: unused option -gsplit-dwarf". So unless we can successfully test if "-gsplit-dwarf" is truly supported, I am going to disable it on darwin for now so we don't get test suite failures. llvm-svn: 249625
-
Dawn Perchik authored
When the target settings are consulted to decide the expression language is decided in CommandObjectExpression, this doesn't help if you're running SBFrame::EvaluateExpression(). Moving the logic into UserExpression fixes this. Based on patch from scallanan@apple.com Reviewed by: dawn Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13267 llvm-svn: 249624
-