[cfe-users] Getting variable names in LLVM IR

2017-02-14 Thread Subhendu Malakar via cfe-users
Hi, I'm a newbie in LLVM environment. I'm trying to generate the LLVM IR of a c file using clang. The command line argument I'm passing is as : "clang -O0 -S -emit-llvm test.c -c -o test.ll" It is generating the LLVM IR properly but I'm not getting the variable names. e.g, for the c file :

[cfe-users] Whole program analysis using LTO

2017-10-09 Thread Subhendu Malakar via cfe-users
Hi, I want to do an inter-module analysis of a C project which contains multiple C files. I've written the pass as an extension of the ModulePass but I cannot get the information about other modules. I was looking into it and there seems to be a way to do it via Link Time Optimization (LTO). But

[cfe-users] DFSan User Manual

2018-06-04 Thread Subhendu Malakar via cfe-users
Hi all, I'm trying to build a taint analysis application based on DFSan. But there is no documentation or user manual for the same (except for https://clang.llvm.org/docs/DataFlowSanitizer.html and https://clang.llvm.org/docs/DataFlowSanitizerDesign.html). So, I wanted to know if there is anot