[LLVMdev] compileUnit (original) (raw)
Hui Zhang wayne.huizhang at gmail.com
Thu Oct 9 20:05:24 PDT 2014
- Previous message: [LLVMdev] LICM promoting memory to scalar
- Next message: [LLVMdev] LDMIA instruction allows high registers for v7m architechture
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
I'm using an existing pass called ModuleDegbugInfoPrinter, run it with "-analyze -module-debuginfo" It should print out all the debug information of a module.
For the CompileUnit part, what is exactly a "compile unit" ? A module? a file ? or what ?
In my case, it only prints out one module, which indicates a runtime library source file, and among all the subPrograms it printed out, there is no one coming from user code. So I think either the Compile units are missing or the debug information for user functions are missing. Any clue on why this happened ? (I used -g option when I got the .bc code)
thanks!
-- Best regards
Hui Zhang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141009/938026ae/attachment.html>
- Previous message: [LLVMdev] LICM promoting memory to scalar
- Next message: [LLVMdev] LDMIA instruction allows high registers for v7m architechture
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]