FailedChanges

Summary

  1. Fix test failure with 374562 on Hexagon (details)
  2. [lldb-test] Modify lldb-test to print out ASTs from symbol file (details)
Commit add0786dbaa8ca9c0b44b5eefcf700c15a0c8e44 by erich.keane
Fix test failure with 374562 on Hexagon
__builtin_assume_aligned takes a size_t which is a 32 bit int on
hexagon.  Thus, the constant gets converted to a 32 bit value, resulting
in 0 not being a power of 2.  This patch changes the constant being
passed to 2**30 so that it fails, but doesnt exceed 30 bits.
llvm-svn: 374569
The file was modifiedclang/test/Sema/builtin-assume-aligned.c
Commit 5f46982b452b685419629b23d530281df2298536 by syaghmour
[lldb-test] Modify lldb-test to print out ASTs from symbol file
Summary: Currently when invoking lldb-test symbols -dump-ast it parses
all the debug symbols and calls print(...) on the TranslationUnitDecl.
While useful the TranslationUnitDecl::print(...) method gives us a
higher level view then the dump from ASTDumper which is what we get when
we invoke dump() on a specific AST node. The main motivation for this
change is allow us to verify that the AST nodes we create when we parse
DWARF. For example in order to verify we are correctly using
DIFlagExportSymbols added by D66667
Differential Revision: https://reviews.llvm.org/D67994
llvm-svn: 374570
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp