summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-function-1.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-15 00:29:54 +0000
committerMike Stump <mrs@apple.com>2009-05-15 00:29:54 +0000
commit2c002929b2afc4c064bdd29bceae9f439f243a6e (patch)
treeb981b8ac8c2be473714c28aec3f3e79a23fc17f8 /clang/test/SemaTemplate/instantiate-function-1.cpp
parent03b0dd59132c434f26d1870f26686507e442a608 (diff)
downloadbcm5719-llvm-2c002929b2afc4c064bdd29bceae9f439f243a6e.tar.gz
bcm5719-llvm-2c002929b2afc4c064bdd29bceae9f439f243a6e.zip
Fixup debug information for the location information for __block
variables. For this to work, the backend needs to handle more complex forms for locations. A typical utterance would be: %forwarding = getelementptr %0* %use_by_ref, i32 0, i32 1 ; <i8**> [#uses=1] %0 = load i8** %forwarding ; <i8*> [#uses=1] %1 = bitcast i8* %0 to %0* ; <%0*> [#uses=1] %x = getelementptr %0* %1, i32 0, i32 4 ; <i32*> [#uses=1] %2 = bitcast i32* %x to { }* ; <{ }*> [#uses=1] call void @llvm.dbg.declare({ }* %2, { }* bitcast (%llvm.dbg.variable.type* @llvm.dbg.variable to { }*)) Presently when selection finds something it doesn't understand, it just avoids generating any information, which is safe, just incomplete. Radar 6867696 llvm-svn: 71824
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-function-1.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud