Added support "__attribute__((__vector_size__(B)))" and "__attribute__((ext_vector_ty...
authorGreg Clayton <gclayton@apple.com>
Fri, 5 Apr 2013 23:27:21 +0000 (23:27 +0000)
committerGreg Clayton <gclayton@apple.com>
Fri, 5 Apr 2013 23:27:21 +0000 (23:27 +0000)
commit1c8ef47681ad841ed52e53f2b998a1c9419b653d
tree4ff821079c8006ea50c9bdadb0d5085baadb6eeb
parent05c4d023f3e7f854ef95ffd2b1e1290296154c85
Added support "__attribute__((__vector_size__(B)))" and "__attribute__((ext_vector_type(N)))".

Now we can:
1 - see the return value for functions that return types that use the "ext_vector_size"
2 - dump values that use the vector attributes ("expr $ymm0")
3 - modified the DWARF parser to correctly parse GNU vector types from the DWARF by turning them into clang::Type::ExtVector types instead of just standard arrays

llvm-svn: 178924
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/include/lldb/Symbol/ClangASTType.h
lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp
lldb/source/Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFFormValue.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Symbol/ClangASTContext.cpp
lldb/source/Symbol/ClangASTType.cpp
lldb/test/functionalities/return-value/TestReturnValue.py
lldb/test/functionalities/return-value/call-func.c