search for: applydebuglocation

Displaying 3 results from an estimated 3 matches for "applydebuglocation".

2018 Aug 07
3
[RFC] Add DebugLoc parameter in Instruction’s Create() functions
Many DI-related bugs are caused by missing Debug Location in an instruction created in a transformation. Most of the time the fix is trivial once you found where the culprit instruction is created (https://reviews.llvm.org/D50263). Currently, when you create a new Instruction, in order to give it DL you have to either use an IRBuilder that is previously set to the correct DL or “manually” create
2018 Apr 18
1
[cfe-users] How to handle debug information not in source/How do I handle the error 'inlinable function call in a function with debug info must have a !dbg location'
+llvm-dev, Adrian bcc:cfe-users > On Apr 18, 2018, at 14:20, Levo DeLellis via cfe-users <cfe-users at lists.llvm.org> wrote: > > I'm having an issue with the error "inlinable function call in a function with debug info must have a !dbg location" > > My language will automatically call a destructor for you. LLVM is forcing me to use give it debug information.
2018 Nov 25
6
RFC: Modernizing our use of auto
I'm not advocating AAA. However this is a proposal for more modern thinking regarding the permissiveness of auto in LLVM codebases. Currently the rule on the use of auto is here: https://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable It is quite strict. It allows the use of auto for * lambdas * iterators because they are long to type * casts to