aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/debug-info-lifetime-crash.m
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28[clang] Remove rdar links; NFCAaron Ballman1-1/+0
We have a new policy in place making links to private resources something we try to avoid in source and test files. Normally, we'd organically switch to the new policy rather than make a sweeping change across a project. However, Clang is in a somewhat special circumstance currently: recently, I've had several new contributors run into rdar links around test code which their patch was changing the behavior of. This turns out to be a surprisingly bad experience, especially for newer folks, for a handful of reasons: not understanding what the link is and feeling intimidated by it, wondering whether their changes are actually breaking something important to a downstream in some way, having to hunt down strangers not involved with the patch to impose on them for help, accidental pressure from asking for potentially private IP to be made public, etc. Because folks run into these links entirely by chance (through fixing bugs or working on new features), there's not really a set of problematic links to focus on -- all of the links have basically the same potential for causing these problems. As a result, this is an omnibus patch to remove all such links. This was not a mechanical change; it was done by manually searching for rdar, radar, radr, and other variants to find all the various problematic links. From there, I tried to retain or reword the surrounding comments so that we would lose as little context as possible. However, because most links were just a plain link with no supporting context, the majority of the changes are simple removals. Differential Review: https://reviews.llvm.org/D158071
2023-07-17Revert "Remove rdar links; NFC"Mehdi Amini1-0/+1
This reverts commit d618f1c3b12effd0c2bdb7d02108d3551f389d3d. This commit wasn't reviewed ahead of time and significant concerns were raised immediately after it landed. According to our developer policy this warrants immediate revert of the commit. https://llvm.org/docs/DeveloperPolicy.html#patch-reversion-policy Differential Revision: https://reviews.llvm.org/D155509
2023-07-07Remove rdar links; NFCAaron Ballman1-1/+0
This removes links to rdar, which is an internal bug tracker that the community doesn't have visibility into. See further discussion at: https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
2015-10-08Stop messing with the 'g' group of options in CompilerInvocation.Douglas Katzman1-1/+1
With this change, most 'g' options are rejected by CompilerInvocation. They remain only as Driver options. The new way to request debug info from cc1 is with "-debug-info-kind={line-tables-only|limited|standalone}" and "-dwarf-version={2|3|4}". In the absence of a command-line option to specify Dwarf version, the Toolchain decides it, rather than placing Toolchain-specific logic in CompilerInvocation. Also fix a bug in the Windows compatibility argument parsing in which the "rightmost argument wins" principle failed. Differential Revision: http://reviews.llvm.org/D13221 llvm-svn: 249655
2015-07-31DI: Update testcases for LLVM assembly changeDuncan P. N. Exon Smith1-2/+2
Update testcases after LLVM change r243774. Most of these had no need to check `tag:` field, but did so as a way of getting to the `name:` field. In a few cases I've converted the `tag:` checks to `arg:` or `CHECK-NOT: arg:`. llvm-svn: 243775
2015-04-29DebugInfo: Metadata constructs now start with DI*Duncan P. N. Exon Smith1-2/+2
LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
2015-03-03DebugInfo: Move new hierarchy into place (clang)Duncan P. N. Exon Smith1-2/+6
Update testcases for LLVM change in r231082 to use the new debug info hierarchy. llvm-svn: 231083
2014-12-15IR: Make metadata typeless in assembly, clang sideDuncan P. N. Exon Smith1-2/+2
Match LLVM changes from r224257. llvm-svn: 224259
2014-10-03Revert "Revert "DI: LLVM schema change: fold constants into string""Duncan P. N. Exon Smith1-2/+2
This reverts commit r218917, effectively reapplying r218913. Original commit message follows. -- Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. llvm-svn: 219011
2014-10-02Revert "DI: LLVM schema change: fold constants into string"Duncan P. N. Exon Smith1-2/+2
This reverts commit r218913 while I investigate some bots. llvm-svn: 218917
2014-10-02DI: LLVM schema change: fold constants into stringDuncan P. N. Exon Smith1-2/+2
Update debug info testcases for an LLVM metadata schema change to fold metadata constant operands into a single `MDString`. Part of PR17891. llvm-svn: 218913
2014-10-01Update CGDebugInfo to the updated API in LLVM.Adrian Prantl1-1/+1
Complex address expressions are no longer part of DIVariable, but rather an extra argument to the debug intrinsics. http://reviews.llvm.org/D4919 rdar://problem/17994491 llvm-svn: 218788
2014-10-01Reverting r218777 while investigating buildbot breakage.Adrian Prantl1-1/+1
"Update CGDebugInfo to the updated API in LLVM." llvm-svn: 218781
2014-10-01Update CGDebugInfo to the updated API in LLVM.Adrian Prantl1-1/+1
Complex address expressions are no longer part of DIVariable, but rather an extra argument to the debug intrinsics. http://reviews.llvm.org/D4919 rdar://problem/17994491 llvm-svn: 218777
2013-12-08Remove duplicated -cc1 in testsAlp Toker1-1/+1
llvm-svn: 196728
2013-09-26Debug info: Fix a crash when trying to construct a type with redundantAdrian Prantl1-0/+23
ownership qualifiers. Fixes rdar://problem/14990656. llvm-svn: 191463