[llvm-dev] [DWARF] .debug_loc tracking of variable location (original) (raw)

Victor Leschuk via llvm-dev llvm-dev at lists.llvm.org
Tue Sep 25 10:29:04 PDT 2018


Hello all, could someone point me in the right direction? I am not completely sure I understand the process of tracking variable location (I mean in LLVM code). When we are transforming IR to machine-specific code and assembly how do we exactly track the location of a variable (in terms of .debug_loc section). At which classes/functions should I look?

To be more specific: I am trying to debug https://bugs.llvm.org/show_bug.cgi?id=38714 but currently I am kind of stuck.

-- Best Regards,

Victor Leschuk | Software Engineer | Access Softek



More information about the llvm-dev mailing list