search for: sectionnamestr

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

Did you mean: sectionnames
2017 Apr 04
3
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...blem." I agree with Chandler that we should just design and implement the language feature. > > I would recommend: > > if (__builtin_patchable_branch("section name")) { > trace(); > } > > ==> > > %0 = call i1 @llvm.patchable_branch(i8* @sectionNameString) > br %0, ... > > where @llvm.patchable_branch has the semantics of appending whatever patching information is necessary to the given section such that, if you apply the patch, it will change the result of the call from 0 to 1. That can then typically be pattern-matched in the backe...
2018 Feb 12
0
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
...n and > > implement the language feature. > > > > I would recommend: > > > >   if (__builtin_patchable_branch("section name")) { > >     trace(); > >   } > > > > ==> > > > >   %0 = call i1 @llvm.patchable_branch(i8* @sectionNameString) > >   br %0, ... > > > > where @llvm.patchable_branch has the semantics of appending > > whatever patching information is necessary to the given section > > such that, if you apply the patch, it will change the result of the > > call from 0 to 1.  That can t...
2017 Apr 04
4
[inline-asm][asm-goto] Supporting "asm goto" in inline assembly
My two cents: - I think inline assembly should work even if the compiler cannot parse the contents. This would rule out msvc inline assembly (or alternatively put all the parsing and interpretation burden on the frontend), but would work with gcc asm goto which specifies possible targets separately. - Supporting control flow in inline assembly by allowing jumps out of an assembly block seems