David Blaikie
2398f30115
Update debug info test for schema change made to LLVM.
...
This accounts for the addition of another field to DIScopes that will be used
to store a list of DIImportedModules in the future.
llvm-svn: 178100
2013-03-27 00:08:24 +00:00
NAKAMURA Takumi
719f8584f2
clang/test/CodeGenCXX/debug-info-namespace.cpp: Disable it on non-bash lit for now.
...
With dosish filename, it misgenerates an improper extra entry.
!1 = metadata !{metadata !"E:\5Cllvm\5Cllvm-project\5Cclang\5Ctest\5CCodeGenCXX/debug-info-namespace.cpp", metadata !"E:\5Cllvm\5Cbuild\5Cninja-win32-vs11\5Ctools\5Cclang\5Ctest\5CCodeGenCXX"}
!8 = metadata !{metadata !"E:\5Cllvm\5Cllvm-project\5Cclang\5Ctest\5CCodeGenCXX\5Cdebug-info-namespace.cpp", metadata !"E:\5Cllvm\5Cbuild\5Cninja-win32-vs11\5Ctools\5Cclang\5Ctest\5CCodeGenCXX"}
!8 is unexpected.
llvm-svn: 178061
2013-03-26 18:57:40 +00:00
David Blaikie
d54bb5c192
Debug info - generalize namespace test to not depend on a DW_TAG_file_type entry
...
This isn't necessary & with the next change to LLVM the DW_TAG_file_type entry
won't be emitted at all - only the raw filename/directory pair, so match on
that directly instead.
llvm-svn: 177609
2013-03-20 23:57:15 +00:00
David Blaikie
431153cf2a
refactoring file/directory for namespace debug info
...
(this is a paired commit with an LLVM change to DIBuilder - expect some
buildbot skew/fallout)
llvm-svn: 177565
2013-03-20 19:38:29 +00:00
David Blaikie
9e38bde14d
Enhance debug info namespace test to check for context/scope reference
...
The #line directive is mostly for backend testing (keeping these files matching
should simplify maintenance somewhat) though the corresponding backend test
improvement/update doesn't verify the file information directly just yet.
Coming in a later iteration.
llvm-svn: 177559
2013-03-20 19:10:57 +00:00
David Blaikie
e60814dac0
Make front-end debug info namespace test frontend-only & more specific without overconstraining it
...
The backend portion of this test will be committed to LLVM's test suite.
llvm-svn: 177485
2013-03-20 05:12:06 +00:00
NAKAMURA Takumi
0760218bca
test/CodeGenCXX/debug-info-namespace.cpp: Add explicit -fverbose-asm to cc1 to let cygming pass.
...
This test seeks a verbose comment in output. By default, "-integrated-as" sets verbose-asm. Cygming is not ready for -integrated-as yet.
llvm-svn: 130681
2011-05-02 04:49:53 +00:00
NAKAMURA Takumi
fb7133249c
test: Mark 3 tests as XFAIL:cygwin,mingw.
...
llvm-svn: 127077
2011-03-05 11:15:48 +00:00
Rafael Espindola
5275559c2e
Update tests to not search of as.
...
llvm-svn: 117711
2010-10-29 21:18:11 +00:00
Stuart Hastings
c6d136cba1
Test passes on Darwin; try to XFAIL on freebsd, linux, xp/msvc9.
...
llvm-svn: 117515
2010-10-28 00:47:58 +00:00
Devang Patel
1bee63f325
Fix context info for enums.
...
Radar 8595129
llvm-svn: 117507
2010-10-27 23:23:58 +00:00