summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/debug-property-synth.m
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-04-03 00:44:15 +0000
committerEric Christopher <echristo@apple.com>2012-04-03 00:44:15 +0000
commitb7e821a6aa9abdfe6c7cf2bccae68e757089df8a (patch)
treef3edae2715f06d82669fa4fdb11842a6e6e54f72 /clang/test/CodeGenObjC/debug-property-synth.m
parent34164196af54ffa242e0c92af1031af079709439 (diff)
downloadbcm5719-llvm-b7e821a6aa9abdfe6c7cf2bccae68e757089df8a.tar.gz
bcm5719-llvm-b7e821a6aa9abdfe6c7cf2bccae68e757089df8a.zip
Change location information for synthesized properties to be at the
property file/line rather than the @synthesize file/line. Avoids some nasty confusing-ness with conflating the file from the scope and the line from the original declaration. Use the current scope location as a separate parameter so that we can match it up better in the line table with the beginning of the scope. Update a couple of testcases accordingly since I had to change that we actually use the passed in location in EmitFunctionStart and for the new metadata parameter and add a new testcase to make sure we've got the right line numbers for synthesized properties. Part of rdar://11026482 llvm-svn: 153917
Diffstat (limited to 'clang/test/CodeGenObjC/debug-property-synth.m')
-rw-r--r--clang/test/CodeGenObjC/debug-property-synth.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/debug-property-synth.m b/clang/test/CodeGenObjC/debug-property-synth.m
index 05852b7e292..954620a6359 100644
--- a/clang/test/CodeGenObjC/debug-property-synth.m
+++ b/clang/test/CodeGenObjC/debug-property-synth.m
@@ -16,4 +16,5 @@ int main() {
return 0;
}
-// CHECK: .loc 2 10 0
+// FIXME: Make this test ir files.
+// CHECK: .loc 2 6 0
OpenPOWER on IntegriCloud