summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
diff options
context:
space:
mode:
authorSanne Wouda <sanne.wouda@arm.com>2017-02-28 10:34:48 +0000
committerSanne Wouda <sanne.wouda@arm.com>2017-02-28 10:34:48 +0000
commit98f027501d2763cfff1f3b87a8029472e026cf25 (patch)
tree33ab6468395dca8621bed289e0dc0c7957939817 /lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
parent4fb6748cca7a7ae12c689da81ae4d3e191d69d27 (diff)
downloadbcm5719-llvm-98f027501d2763cfff1f3b87a8029472e026cf25.tar.gz
bcm5719-llvm-98f027501d2763cfff1f3b87a8029472e026cf25.zip
[Assembler] Add test for !srcloc references in assembler diags
Summary: clang adds !srcloc metadata to inline assembly in LLVM bitcode generated for inline assembly in C. The value of this !srcloc is passed to the diagnostics handler if the inline assembly generates a diagnostic. clang is able to turn this cookie back to a location in the C source file. To test this functionality without a dependency, make llc print the !srcloc metadata if it is present. The added test uses this mechanism to test that the correct !srclocs are passed to the diag handler. Reviewers: rengolin, rnk, echristo, grosbach, mehdi_amini Reviewed By: mehdi_amini Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D30167 llvm-svn: 296465
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud