search for: cfguard

Displaying 5 results from an estimated 5 matches for "cfguard".

2020 Mar 27
5
Passing inormation from pass to lowering
Hi! I have written a ModulePass that calculates various things and adds custom metadata attributes to certain instructions. Depending on the attributes, I would like to change the machine code of these instructions. For example, I would like to replace certain calls with jumps, but as far as I can tell the IR metadata is not accessible anymore on the level of machine instructions (e.g. in the
2020 Jan 15
2
Encode target-abi into LLVM bitcode for LTO.
...erstand/explain > that, as it may help inform the design here? > > I grep "addModuleFlag" in clang and list all module level metadata: "NumRegisterParameters": implement __attribute((regparm(3))) which is x86 specific feature and used in X86TargetLowering phase. "cfguard": implement Control Flow Guard (Check mechanism) in IR level pass. "StrictVTablePointers", "StrictVTablePointersRequirement": there is no code use this info in llvm source tree "min_enum_size", "wchar_size": indicate C type size, ARMAsmPrinter use it to...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...form the design here? > > > > I grep "addModuleFlag" in clang and list all module level metadata: > > > > "NumRegisterParameters": implement __attribute((regparm(3))) which is > x86 specific feature and used in X86TargetLowering phase. > > "cfguard": implement Control Flow Guard (Check mechanism) in IR level > pass. > > "StrictVTablePointers", "StrictVTablePointersRequirement": there is no > code use this info in llvm source tree > > "min_enum_size", "wchar_size": indicate C type...
2020 Jan 27
2
Encode target-abi into LLVM bitcode for LTO.
...> > I grep "addModuleFlag" in clang and list all module level metadata: >>> > >>> > "NumRegisterParameters": implement __attribute((regparm(3))) which is >>> x86 specific feature and used in X86TargetLowering phase. >>> > "cfguard": implement Control Flow Guard (Check mechanism) in IR level >>> pass. >>> > "StrictVTablePointers", "StrictVTablePointersRequirement": there is no >>> code use this info in llvm source tree >>> > "min_enum_size", "wc...
2020 Jan 13
2
Encode target-abi into LLVM bitcode for LTO.
David Blaikie via llvm-dev <llvm-dev at lists.llvm.org> 於 2020年1月11日 週六 上午2:03寫道: > Ah, OK - thanks for walking me through that. > > Fair enough, I think I understand the issue/tradeoff now - and that the > other module level metadata don't currently influence the target > configuration at this level? > > I'm not sure, I only know that the target-abi is decided