1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test
Aaron Smith 71edc04fee [CodeView] Emit function options for subprogram and member functions
Summary:
Use the newly added DebugInfo (DI) Trivial flag, which indicates if a C++ record is trivial or not, to determine Codeview::FunctionOptions.

Clang and MSVC generate slightly different Codeview for C++ records. For example, here is the C++ code for a class with a defaulted ctor,

       class C {
       public:
         C() = default;
       };

Clang will produce a LF for the defaulted ctor while MSVC does not. For more details, refer to FIXMEs in the test cases in "function-options.ll" included with this set of changes.


Reviewers: zturner, rnk, llvm-commits, aleksandr.urakov

Reviewed By: rnk

Subscribers: Hui, JDevlieghere

Differential Revision: https://reviews.llvm.org/D45123

llvm-svn: 343626
2018-10-02 20:21:05 +00:00
..
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen Revert "X86, AArch64, ARM: Do not attach debug location to spill/reload instructions" 2018-10-02 18:35:44 +00:00
DebugInfo [CodeView] Emit function options for subprogram and member functions 2018-10-02 20:21:05 +00:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO
MC [X86][Disassembler] Add bizarro versions of the MOVSXD instruction that sign extend from a GR32 to GR32 or GR16. 2018-10-02 18:16:19 +00:00
Object
ObjectYAML
Other Temporarily revert "[GVNHoist] Re-enable GVNHoist by default" 2018-10-01 18:57:08 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO/X86
tools [X86][Btver2] Fix BLENDV and AESDEC schedules 2018-10-02 15:13:18 +00:00
Transforms [InstCombine] add tests with undef elements; NFC 2018-10-02 15:00:56 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh