LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 44000 - Optimization record not generated for bitcode input files
Summary: Optimization record not generated for bitcode input files
Status: NEW
Alias: None
Product: clang
Classification: Unclassified
Component: C++ (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P enhancement
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-14 06:05 PST by zahira.ammarguellat
Modified: 2019-11-25 14:16 PST (History)
9 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zahira.ammarguellat 2019-11-14 06:05:04 PST
ksh-3.2$ clang -c -foptimization-record-file=t1.opt -fopenmp -emit-llvm test.c
ksh-3.2$ ls -al t1.opt
-rw-rw-rw- 1 zahiraam Domain Users 16871 2019-11-14 08:56 t1.opt
ksh-3.2$ rm t1.opt
ksh-3.2$ clang -c -foptimization-record-file=t1.opt -fopenmp test.bc
ksh-3.2$ ls -al t1.opt
ls: cannot access t1.opt: No such file or directory
ksh-3.2$
Comment 1 zahira.ammarguellat 2019-11-15 07:12:36 PST
t1.opt is not generated when we compile t1.bc.