summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-class.cpp
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-08-26 22:39:55 +0000
committerManman Ren <manman.ren@gmail.com>2013-08-26 22:39:55 +0000
commit0ed70aeb85cb0bf00721015afdebb4b825dc6fa1 (patch)
tree58fe46e21c20d39039981811be3002b613eba9ea /clang/test/CodeGenCXX/debug-info-class.cpp
parentbdc9ff449800079c194d30e919ca74ce15f64284 (diff)
downloadbcm5719-llvm-0ed70aeb85cb0bf00721015afdebb4b825dc6fa1.tar.gz
bcm5719-llvm-0ed70aeb85cb0bf00721015afdebb4b825dc6fa1.zip
Debug Info: add an identifier field to DICompositeType.
DICompositeType will have an identifier field at position 14. For now, the field is set to null in DIBuilder. For DICompositeTypes where the template argument field (the 13th field) was optional, modify DIBuilder to make sure the template argument field is set. Now DICompositeType has 15 fields. Update DIBuilder to use NULL instead of "i32 0" for null value of a MDNode. Update verifier to check that DICompositeType has 15 fields and the last field is null or a MDString. Update testing cases to include an extra field for DICompositeType. The identifier field will be used by type uniquing so a front end can genearte a DICompositeType with a unique identifer. llvm-svn: 189282
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-class.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud